Round scales to ints as VSFilter doesn't actually support nonint scales so it's just pointless ugliness
Originally committed to SVN as r5849.
This commit is contained in:
parent
4be9c302d3
commit
55fc6c753e
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ void VisualToolScale::UpdateHold() {
|
|||
if (ctrl_down)
|
||||
scale = scale.Round(25.f);
|
||||
|
||||
SetSelectedOverride("\\fscx", wxString::Format("(%0.3g)", scale.X()));
|
||||
SetSelectedOverride("\\fscy", wxString::Format("(%0.3g)", scale.Y()));
|
||||
SetSelectedOverride("\\fscx", wxString::Format("%d", (int)scale.X()));
|
||||
SetSelectedOverride("\\fscy", wxString::Format("%d", (int)scale.Y()));
|
||||
}
|
||||
|
||||
void VisualToolScale::DoRefresh() {
|
||||
|
|
Loading…
Reference in a new issue