Skip to content

Commit 1397ac1

Browse files
committed
Fixing colors of shapes in dropdowns.
1 parent ece0039 commit 1397ac1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CanvasToolbar.vala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ public class CanvasToolbar : Box {
133133
margin_bottom = 5,
134134
tooltip_markup = shape_type.tooltip(),
135135
};
136+
_canvas.win.theme_changed.connect((dark) => {
137+
b.icon_name = shape_type.icon_name( dark );
138+
});
136139
b.clicked.connect(() => {
137140
_current_item.get( category ).canvas_item( shape_type );
138141
_current_item.get( category ).add_item( _canvas.items );

0 commit comments

Comments
 (0)