Disallow negative spacing in style editor again
Since it turns out that this is not supported by the renderer anyway, see arch1t3cht/Aegisub#48 .
This commit is contained in:
parent
bf240c9770
commit
82dffcb9f9
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con
|
|||
auto ScaleX = num_text_ctrl(&work->scalex, 0.0, 10000.0, 1, 2);
|
||||
auto ScaleY = num_text_ctrl(&work->scaley, 0.0, 10000.0, 1, 2);
|
||||
auto Angle = num_text_ctrl(&work->angle, -360.0, 360.0, 1.0, 2);
|
||||
auto Spacing = num_text_ctrl(&work->spacing, -1000.0, 1000.0, 0.1, 3);
|
||||
auto Spacing = num_text_ctrl(&work->spacing, 0.0, 1000.0, 0.1, 3);
|
||||
Encoding = new wxComboBox(this, -1, "", wxDefaultPosition, wxDefaultSize, encodingStrings, wxCB_READONLY);
|
||||
|
||||
// Set control tooltips
|
||||
|
|
Loading…
Reference in a new issue