mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-03 01:00:48 +00:00
keymap ui: the chip-click test uses the node's rect as is
This commit is contained in:
1 parent
5a8f119a70
commit
f9a65e813f
1 file changed
+1
-2
@@ -1004,8 +1004,7 @@ fn an_app_error_shows_until_dismissed() {
|
||||
fn one_pointer_click_on_a_chip_of_another_row_records() {
|
||||
let mut h = mac();
|
||||
click(&mut h, "Save");
|
||||
let c = h.get_by_label("Export…: ⌘E").rect().center();
|
||||
let at = egui::pos2(c.x as f32, c.y as f32);
|
||||
let at = h.get_by_label("Export…: ⌘E").rect().center();
|
||||
h.event(Event::PointerMoved(at));
|
||||
h.run();
|
||||
for pressed in [true, false] {
|
||||
|
||||
Reference in new issue
Block a user