mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 06:00:04 +02:00
Keep controls-only overlay canvas static for click diagnosis
This commit is contained in:
1 parent
9e608193e3
commit
b5499eccdf
3 files changed
+25
-11
No files matched your search
@@ -37,7 +37,9 @@ int main(int argc, char** argv) {
|
||||
no_action(click(surface, 32, 574)); // clipped visual corners are not invisible hit targets
|
||||
no_action(click(surface, 207, 575));
|
||||
assert(click(surface, 100, 610).action == UiAction::BeginRecord);
|
||||
assert(!surface.render(p)); // a diagnostic click does not change the canvas
|
||||
assert(click(surface, 280, 610).action == UiAction::Cancel);
|
||||
assert(!surface.render(p));
|
||||
no_action(surface.pointer_up(0, 100, 610));
|
||||
surface.pointer_down(0, 100, 610);
|
||||
no_action(surface.pointer_up(0, 280, 610));
|
||||
|
||||
Reference in new issue
Block a user