Commit 41316fe
Unhide cursor in tool box
Changed files (3)
modifiedlibbirdfont/ForesightTool.valamodifiedlibbirdfont/TabBar.valamodifiedlibbirdfont/Toolbox.vala
Diff
@@ -72,6 +72,7 @@ public class ForesightTool : Tool { p.release_action (p, 2, x, y); current_path.hide_end_handle = true; state = NONE;+ MainWindow.native_window.set_cursor (NativeWindow.VISIBLE); return; } @@ -194,6 +195,10 @@ public class ForesightTool : Tool { last_move_x = x; last_move_y = y; + if (state == NONE) {+ MainWindow.native_window.set_cursor (NativeWindow.VISIBLE);+ }+ PenTool.active_path = current_path; PenTool.active_path.hide_end_handle = (state == MOVE_POINT); @@ -83,6 +83,8 @@ public class TabBar : GLib.Object { } public void motion (double x, double y) {+ MainWindow.native_window.set_cursor (NativeWindow.VISIBLE);+ if (MenuTab.suppress_event) { warn_if_test ("Event suppressed"); return;@@ -257,7 +257,9 @@ public class Toolbox : GLib.Object { bool a; bool consumed = false; bool active;- + + MainWindow.native_window.set_cursor (NativeWindow.VISIBLE);+ foreach (Expander exp in current_set.get_expanders ()) { if (exp.visible) { a = exp.is_over (x, y);