Add presets.
Also fix some bugs. Fix a crash and a minor bug
This commit is contained in:
@@ -773,8 +773,9 @@ void make_default_theme() {
|
||||
t->set_constant("color_width","ColorPicker", 100);
|
||||
t->set_constant("label_width","ColorPicker", 20);
|
||||
t->set_constant("hseparator","ColorPicker", 4);
|
||||
|
||||
|
||||
t->set_icon("screen_picker","ColorPicker", make_icon( icon_color_pick_png ) );
|
||||
t->set_icon("add_preset","ColorPicker", make_icon( icon_add_png ) );
|
||||
|
||||
t->set_shader("uv_editor", "ColorPicker", make_shader("", uv_editor_shader_code, ""));
|
||||
t->set_shader("w_editor", "ColorPicker", make_shader("", w_editor_shader_code, ""));
|
||||
|
||||
Reference in New Issue
Block a user