From ff03168f4c6fdd6306877ebf6cbac347acf922a2 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 17 Nov 2011 18:21:30 +0000 Subject: [PATCH] Show decimals in the cross visual tool only when the video resolution is greater than the script resolution Originally committed to SVN as r5872. --- aegisub/src/visual_tool_cross.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/visual_tool_cross.cpp b/aegisub/src/visual_tool_cross.cpp index a8fb4e02e..5f94ae039 100644 --- a/aegisub/src/visual_tool_cross.cpp +++ b/aegisub/src/visual_tool_cross.cpp @@ -78,7 +78,7 @@ void VisualToolCross::Draw() { gl.ClearInvert(); Vector2D t = ToScriptCoords(shift_down ? video_res - mouse_pos : mouse_pos); - wxString mouse_text = t.Str(); + wxString mouse_text = video_res.X() > script_res.X() ? t.Str() : t.DStr(); int tw, th; gl_text->SetFont("Verdana", 12, true, false);