Improve UI

This commit is contained in:
Loic Guegan 2022-12-31 13:59:55 +01:00
parent b8b73bb9ed
commit 91d764ba59
4 changed files with 23 additions and 2 deletions

View file

@ -383,6 +383,9 @@ void BoardCanvas::MouseEvent(wxMouseEvent &event) {
}
}
}
if (event.GetWheelRotation() != 0) {
event.ResumePropagation(1);event.Skip();
}
}
void BoardCanvas::Zoom(std::int32_t zoom) {