mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-03 02:37:39 +00:00
Improve UI
This commit is contained in:
parent
b8b73bb9ed
commit
91d764ba59
4 changed files with 23 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue