Remove pressedButtons, now implemented via MouseTracker (#302)
This commit is contained in:
@@ -56,8 +56,10 @@ class ViewBox(
|
||||
override val moved = Event<MouseEvent>()
|
||||
override var position: Vector2 = -clientArea.corner
|
||||
|
||||
override val pressedButtons: MutableSet<MouseButton>
|
||||
get() = TODO("Not yet implemented")
|
||||
// Note: use MouseTracker() instead of pressedButtons
|
||||
//override val pressedButtons: MutableSet<MouseButton>
|
||||
// get() = TODO("Not yet implemented")
|
||||
|
||||
override val scrolled = Event<MouseEvent>()
|
||||
}
|
||||
|
||||
@@ -298,4 +300,4 @@ fun Program.viewBox(
|
||||
viewBox.f()
|
||||
}
|
||||
return viewBox
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user