Skip to content

Commit

Permalink
logic moment
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Aug 19, 2024
1 parent 95eddcb commit fc9b6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuses/appearance/Widgets/EnsorFlowBox.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class EnsorFlowBox : He.Bin {
flowbox.child_activated.connect (child_activated_cb);

var sel = fusebox_appearance_settings.get_int ("wallpaper-accent-choice");
flowbox.select_child (flowbox.get_child_at_index ((sel < 0 || sel > (color.length * 4)) ? sel : 0));
flowbox.select_child (flowbox.get_child_at_index ((sel < 0 || sel > (color.length * 4)) ? 0 : sel));

for (int i = 0; i < color.length; i++) {
make_ensor_set (color[i]);
Expand Down

0 comments on commit fc9b6e4

Please sign in to comment.