mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
io/router, internal/ops: minor refactoring
Rename the assertEventSequence helper to assertEventPointerTypeSequence. Fix typos. Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
+2
-2
@@ -269,7 +269,7 @@ func Save(o *Ops) StateOp {
|
||||
return s
|
||||
}
|
||||
|
||||
// load a previously saved operations state given
|
||||
// Load a previously saved operations state given
|
||||
// its ID.
|
||||
func (s StateOp) Load() {
|
||||
bo := binary.LittleEndian
|
||||
@@ -427,6 +427,6 @@ func (t OpType) String() string {
|
||||
case TypeStroke:
|
||||
return "Stroke"
|
||||
default:
|
||||
panic("unnkown OpType")
|
||||
panic("unknown OpType")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user