mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-15 15:22:54 +00:00
Integration: the page input guard also catches egui's per-button pointer reads (#2685)
This commit is contained in:
1 parent
c276f92b54
commit
0140f1047c
1 file changed
+8
-1
@@ -275,7 +275,7 @@ mod tests {
|
||||
];
|
||||
|
||||
/// egui's raw pointer state: where the pointer is, and which buttons are down or went down.
|
||||
const RAW_READS: [&str; 15] = [
|
||||
const RAW_READS: [&str; 21] = [
|
||||
"hover_pos()",
|
||||
"interact_pos()",
|
||||
"latest_pos()",
|
||||
@@ -291,6 +291,13 @@ mod tests {
|
||||
"any_pressed()",
|
||||
"any_released()",
|
||||
"any_click()",
|
||||
// These take the button, so they match up to the parenthesis.
|
||||
"button_down(",
|
||||
"button_pressed(",
|
||||
"button_released(",
|
||||
"button_clicked(",
|
||||
"button_double_clicked(",
|
||||
"button_triple_clicked(",
|
||||
];
|
||||
|
||||
/// Functions in the page modules that are not page input and read egui's pointer state
|
||||
|
||||
Reference in new issue
Block a user