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