16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

build 180804. configurable command bindings for scroll wheel, minor bug fixes

This commit is contained in:
tmj-fstate
2018-08-04 12:34:51 +02:00
parent ec1a625c12
commit cf7b9652e0
14 changed files with 180 additions and 49 deletions

View File

@@ -87,8 +87,6 @@ editor_mode::update() {
simulation::is_ready = true;
m_input.poll();
return true;
}
@@ -250,6 +248,12 @@ editor_mode::on_mouse_button( int const Button, int const Action, int const Mods
m_input.mouse.button( Button, Action );
}
void
editor_mode::on_event_poll() {
m_input.poll();
}
bool
editor_mode::mode_translation() const {