forked from mia/Aegisub
Show decimals in the cross visual tool only when the video resolution is greater than the script resolution
Originally committed to SVN as r5872.
This commit is contained in:
parent
f863e28479
commit
ff03168f4c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue