UI: Icons for playhead snapping
The recently introduced feature of playhead snapping (#137278) added a popover menu for snap targets. This used text to indicate the contents of said popover. In order to bring it in line with the other snapping menu, this PR adds icons to indicate the enabled state of snapping. Part of #135794 Pull Request: https://projects.blender.org/blender/blender/pulls/139271
This commit is contained in:
committed by
Christoph Lendenfeld
parent
de9b24abad
commit
befe6062c0
@@ -94,7 +94,11 @@ class GRAPH_HT_header(Header):
|
||||
panel="GRAPH_PT_snapping",
|
||||
text="",
|
||||
)
|
||||
layout.popover(panel="GRAPH_PT_playhead_snapping")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(tool_settings, "use_snap_playhead", text="")
|
||||
sub = row.row(align=True)
|
||||
sub.popover(panel="GRAPH_PT_playhead_snapping", text="")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(tool_settings, "use_proportional_fcurve", text="", icon_only=True)
|
||||
|
||||
Reference in New Issue
Block a user