UI: Updating Animation Editors snapping from 'Modes' to no icon

Updates the animations editors (NLA, Dope Sheet, Graph editor) to have no icon instead of "Modes" (in absence of icon set).

Pull Request: https://projects.blender.org/blender/blender/pulls/112633
This commit is contained in:
Nate Rupsis 2023-09-26 20:28:57 +02:00 committed by Nate Rupsis
parent f07542d8cb
commit 8199132551
3 changed files with 3 additions and 6 deletions

View File

@ -282,8 +282,7 @@ class DOPESHEET_HT_editor_buttons:
sub = row.row(align=True)
sub.popover(
panel="DOPESHEET_PT_snapping",
icon='NONE',
text="Modes",
text="",
)
row = layout.row(align=True)

View File

@ -54,8 +54,7 @@ class GRAPH_HT_header(Header):
sub = row.row(align=True)
sub.popover(
panel="GRAPH_PT_snapping",
icon='NONE',
text="Modes",
text="",
)
row = layout.row(align=True)

View File

@ -39,8 +39,7 @@ class NLA_HT_header(Header):
sub = row.row(align=True)
sub.popover(
panel="NLA_PT_snapping",
icon='NONE',
text="Modes",
text="",
)