mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 09:04:02 +00:00
Minor changes in theme.xml/style names
This commit is contained in:
parent
6e2b44c72d
commit
ff1211bc84
@ -1029,6 +1029,9 @@
|
||||
<icon state="disabled" color="disabled" />
|
||||
<icon state="capture selected" color="button_selected_text" />
|
||||
</style>
|
||||
<style id="buttonset_item_icon_mono" extends="buttonset_item_icon">
|
||||
<icon color="button_normal_text" />
|
||||
</style>
|
||||
<style id="buttonset_item_text" extends="buttonset_item" padding="1">
|
||||
<text color="button_normal_text" />
|
||||
<text color="button_hot_text" state="selected" />
|
||||
@ -1074,20 +1077,17 @@
|
||||
<style id="selection_mode" extends="context_bar_button" padding-top="1" />
|
||||
<style id="symmetry_field" extends="context_bar_button" padding-top="1" />
|
||||
<style id="symmetry_options" extends="context_bar_text_button" padding-left="3" padding-bottom="3" />
|
||||
<style id="pal_edit_button_lock" extends="buttonset_item_icon" width="15">
|
||||
<style id="pal_edit_lock" extends="buttonset_item_icon" width="15">
|
||||
<icon part="timeline_closed_padlock_normal" />
|
||||
<icon part="timeline_closed_padlock_normal" state="capture selected" />
|
||||
</style>
|
||||
<style id="pal_edit_button_unlock" extends="pal_edit_button_lock">
|
||||
<style id="pal_edit_unlock" extends="pal_edit_lock">
|
||||
<background color="edit_pal_face" />
|
||||
<newlayer />
|
||||
<icon part="timeline_open_padlock_active" />
|
||||
</style>
|
||||
<style id="pal_button" extends="buttonset_item_icon" minwidth="15" padding-top="1" />
|
||||
<style id="debugger_button" extends="buttonset_item_icon" width="17" height="19" />
|
||||
<style id="buttonset_item_icon_mono" extends="buttonset_item_icon">
|
||||
<icon color="button_normal_text" />
|
||||
</style>
|
||||
<style id="edit_pixels_mode" extends="buttonset_item_icon" width="15">
|
||||
<icon color="button_normal_text" />
|
||||
</style>
|
||||
|
@ -190,8 +190,8 @@ ColorBar::ColorBar(int align, TooltipManager* tooltipManager)
|
||||
item->InitTheme.connect(
|
||||
[this, item](){
|
||||
auto style =
|
||||
(m_editMode ? SkinTheme::instance()->styles.palEditButtonUnlock() :
|
||||
SkinTheme::instance()->styles.palEditButtonLock());
|
||||
(m_editMode ? SkinTheme::instance()->styles.palEditUnlock() :
|
||||
SkinTheme::instance()->styles.palEditLock());
|
||||
item->setStyle(style);
|
||||
});
|
||||
m_buttons.addItem(theme->parts.palSort(), "pal_button");
|
||||
|
Loading…
Reference in New Issue
Block a user