Added settings value for 'detach camera' hotkey
This commit is contained in:
@@ -1256,6 +1256,8 @@ setting.borderlesswindow.description = Restart may be required to apply changes.
|
|||||||
setting.fps.name = Show FPS & Ping
|
setting.fps.name = Show FPS & Ping
|
||||||
setting.console.name = Enable Console
|
setting.console.name = Enable Console
|
||||||
setting.smoothcamera.name = Smooth Camera
|
setting.smoothcamera.name = Smooth Camera
|
||||||
|
setting.detach-camera.name = Free Camera
|
||||||
|
setting.detach-camera.description = If enabled, the camera moves independently of the player unit.\nThis setting can be assigned a hotkey.
|
||||||
setting.vsync.name = VSync
|
setting.vsync.name = VSync
|
||||||
setting.pixelate.name = Pixelate
|
setting.pixelate.name = Pixelate
|
||||||
setting.minimap.name = Show Minimap
|
setting.minimap.name = Show Minimap
|
||||||
|
|||||||
@@ -474,6 +474,9 @@ public class SettingsMenuDialog extends BaseDialog{
|
|||||||
}
|
}
|
||||||
graphics.checkPref("minimap", !mobile);
|
graphics.checkPref("minimap", !mobile);
|
||||||
graphics.checkPref("smoothcamera", true);
|
graphics.checkPref("smoothcamera", true);
|
||||||
|
if(!mobile){
|
||||||
|
graphics.checkPref("detach-camera", false);
|
||||||
|
}
|
||||||
graphics.checkPref("position", false);
|
graphics.checkPref("position", false);
|
||||||
if(!mobile){
|
if(!mobile){
|
||||||
graphics.checkPref("mouseposition", false);
|
graphics.checkPref("mouseposition", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user