Cursor Doubling

Cursor now doubles with pixel doubling, enabled by a new checkbox in the
settings menu.
This commit is contained in:
huwpascoe
2014-08-18 01:43:20 +01:00
parent 7d96a6ac96
commit baecedc7b8
6 changed files with 37 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ namespace OpenRA.Widgets
{
get
{
var pos = Viewport.LastMousePos + CursorOffset;
var pos = Viewport.LastMousePos + (CursorProvider.CursorViewportZoomed ? CursorOffset * 2 : CursorOffset);
if (tooltip != null)
{
if (pos.X + tooltip.Bounds.Right > Game.Renderer.Resolution.Width)