FIX:mousewheel delta of slider turn to 5 at times

Change-Id: I64db714b26a315fa443a0ab2796b4bf21a6ec2f5
This commit is contained in:
liz.li 2022-12-01 09:16:27 +08:00 committed by Lane.Wei
parent f600af7b73
commit 895e90733b
4 changed files with 62 additions and 35 deletions

View file

@ -261,6 +261,7 @@ public:
void UseDefaultColors(bool def_colors_on) { m_ticks.set_default_colors(def_colors_on); }
void on_mouse_wheel(wxMouseEvent& evt);
void post_ticks_changed_event(Type type = Custom);
bool check_ticks_changed_event(Type type);
bool switch_one_layer_mode();