Skip to content
Snippets Groups Projects

Zoom and pan in GUI

Merged Nicolas Pope requested to merge feature/zoom into master
@@ -382,7 +382,6 @@ bool ftl::gui::Screen::mouseMotionEvent(const Eigen::Vector2i &p, const Eigen::V
return true;
} else {
if (camera_) {
LOG(INFO) << "BUTTON = " << button << ", MOD = " << modifiers;
if (button == 1) {
camera_->mouseMovement(rel[0], rel[1], button);
} else if (button == 2) {
Loading