From 4f9713cb20149d29a9c58ffd72a179f78f158d12 Mon Sep 17 00:00:00 2001 From: 9adefaf01e5bf6426d838cd20eae582d2b6ba647 Date: Thu, 26 Feb 2015 22:36:27 +0300 Subject: [PATCH] Style editor: accept -360..360deg range People tend to use 270deg not knowing|remembering it's equal to -90deg --- src/dialog_style_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialog_style_editor.cpp b/src/dialog_style_editor.cpp index 30dc95635..257ddd957 100644 --- a/src/dialog_style_editor.cpp +++ b/src/dialog_style_editor.cpp @@ -208,7 +208,7 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con OutlineType = new wxCheckBox(this, -1, _("&Opaque box")); auto ScaleX = num_text_ctrl(&work->scalex, 0.0, 10000.0, 1.0); auto ScaleY = num_text_ctrl(&work->scaley, 0.0, 10000.0, 1.0); - auto Angle = num_text_ctrl(&work->angle, -180.0, 180.0, 1.0); + auto Angle = num_text_ctrl(&work->angle, -360.0, 360.0, 1.0); auto Spacing = num_text_ctrl(&work->spacing, 0.0, 1000.0, 0.1); Encoding = new wxComboBox(this, -1, "", wxDefaultPosition, wxDefaultSize, encodingStrings, wxCB_READONLY);