formatting
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 13s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 13s
This commit is contained in:
@@ -288,12 +288,8 @@ pub fn App(comptime E: type) type {
|
||||
.x = px -| 1,
|
||||
.y = py -| 1,
|
||||
.kind = blk: {
|
||||
if (motion and button != Mouse.Button.none) {
|
||||
break :blk .drag;
|
||||
}
|
||||
if (motion and button == Mouse.Button.none) {
|
||||
break :blk .motion;
|
||||
}
|
||||
if (motion and button != Mouse.Button.none) break :blk .drag;
|
||||
if (motion and button == Mouse.Button.none) break :blk .motion;
|
||||
if (sequence[sequence.len - 1] == 'm') break :blk .release;
|
||||
break :blk .press;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user