diff --git a/OpenRA.Game/Graphics/CursorManager.cs b/OpenRA.Game/Graphics/CursorManager.cs index 16e68d53b0..5d3146e8ae 100644 --- a/OpenRA.Game/Graphics/CursorManager.cs +++ b/OpenRA.Game/Graphics/CursorManager.cs @@ -188,7 +188,7 @@ namespace OpenRA.Graphics return; // Render cursor in software - var doubleCursor = graphicSettings.CursorDouble && cursor.Name != "default"; + var doubleCursor = graphicSettings.CursorDouble; var cursorSprite = cursor.Sprites[frame % cursor.Length]; var cursorSize = doubleCursor ? 2.0f * cursorSprite.Size : cursorSprite.Size; var mousePos = isLocked ? lockedPosition : Viewport.LastMousePos; @@ -266,7 +266,7 @@ namespace OpenRA.Graphics } } - return Game.Renderer.Window.CreateHardwareCursor(name, new Size(newWidth, newHeight), rgbaData, hotspot, graphicSettings.CursorDouble && cursor.Name != "default"); + return Game.Renderer.Window.CreateHardwareCursor(name, new Size(newWidth, newHeight), rgbaData, hotspot, graphicSettings.CursorDouble); } void ClearHardwareCursors() diff --git a/mods/cnc/chrome/settings.yaml b/mods/cnc/chrome/settings.yaml index 02a02c8ba5..2bb0accebb 100644 --- a/mods/cnc/chrome/settings.yaml +++ b/mods/cnc/chrome/settings.yaml @@ -131,13 +131,6 @@ Container@SETTINGS_PANEL: Height: 20 Font: Regular Text: Use Hardware Cursors - Checkbox@CURSORDOUBLE_CHECKBOX: - X: 310 - Y: 75 - Width: 200 - Height: 20 - Font: Regular - Text: Increase Command Cursor Size Label@VIDEO_DESC: Y: 97 Width: PARENT_RIGHT @@ -225,6 +218,13 @@ Container@SETTINGS_PANEL: Width: 175 Height: 25 Font: Regular + Checkbox@CURSORDOUBLE_CHECKBOX: + X: 15 + Y: 243 + Width: 200 + Height: 20 + Font: Regular + Text: Increase Cursor Size Label@STATUS_BARS: X: 250 Y: 240 diff --git a/mods/common/chrome/settings.yaml b/mods/common/chrome/settings.yaml index 98c1067e49..65adde70d0 100644 --- a/mods/common/chrome/settings.yaml +++ b/mods/common/chrome/settings.yaml @@ -145,13 +145,6 @@ Background@SETTINGS_PANEL: Height: 20 Font: Regular Text: Use Hardware Cursors - Checkbox@CURSORDOUBLE_CHECKBOX: - X: 310 - Y: 75 - Width: 200 - Height: 20 - Font: Regular - Text: Increase Command Cursor Size Label@VIDEO_DESC: Y: 97 Width: PARENT_RIGHT @@ -246,6 +239,13 @@ Background@SETTINGS_PANEL: Height: 25 Text: Status Bars: Align: Right + Checkbox@CURSORDOUBLE_CHECKBOX: + X: 15 + Y: 243 + Width: 200 + Height: 20 + Font: Regular + Text: Increase Cursor Size DropDownButton@STATUS_BAR_DROPDOWN: X: 400 Y: 240