summaryrefslogtreecommitdiff
path: root/scene/gui/link_button.h
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2021-11-08 17:53:35 -0500
committerRyan Roden-Corrent <ryan@rcorre.net>2021-11-09 06:50:39 -0500
commit3bd7c4f2a93e2dfa495ffe68291a26b7112081e2 (patch)
treee9389d99c36b5c5754a9040d0b14335c8cd98d6e /scene/gui/link_button.h
parentc89061e982a27ba6e5dc6ea54ae812976de2d2db (diff)
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down. This was suggested at: https://github.com/godotengine/godot/pull/51984#issuecomment-948614191: > For 3.4, I think we can just clamp the angle value when using the > camera orbiting shortcuts. We can investigate what to do with panning > and freelook in 3.5 and 4.0.
Diffstat (limited to 'scene/gui/link_button.h')
0 files changed, 0 insertions, 0 deletions