veloren/voxygen/src/hud/settings_window
Cat Stevens 83e4cdfe76 Allow locking camera zoom
Allow the camera's zoom to be locked by a keybind
	or a Gameplay setting. The zoom lock
	behavior can be changed between Toggle
	and Auto, where Auto only locks the camera
	zoom while specific movement/combat inputs
	are being pressed. (closes !1528)

A temporary fading notification is shown at the
	top of the screen, informing the player of
	the setting change (when the keybind is
	used) or that the zoom is locked (when
	the player might have forgotten the zoom
	is locked, and is trying to zoom).

i18n strings are added for English and German,
	but no other languages.

To implement the simplistic fading text, the
	behavior was extracted into an impl
	called `ChangeNotification`, where
	reasons are quantified by `NotificationReason`.
2023-03-05 11:30:27 -05:00
..
chat.rs second cleaning pass after removing i18n.get 2022-08-23 13:14:29 +02:00
controls.rs formtaed code with cargo fmt 2022-08-23 19:18:18 +02:00
gameplay.rs Allow locking camera zoom 2023-03-05 11:30:27 -05:00
interface.rs snappy ui scaling by having a addtional dropdown menu 2022-11-15 10:28:57 +01:00
language.rs formtaed code with cargo fmt 2022-08-23 19:18:18 +02:00
mod.rs Update Rust toolchain. 2022-09-08 15:43:53 -07:00
networking.rs Replace uses of "65" with client::MAX_SELECTABLE_VD in client and 2022-08-25 23:24:43 -04:00
sound.rs Moved some code around to put it in logical order 2022-09-17 12:48:38 +02:00
video.rs Added graphics presets 2022-10-27 01:15:40 +01:00