Skip to content

Commit

Permalink
🪲 Fix issue #348
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Apr 9, 2024
1 parent 2afcd50 commit cc67049
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extension/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ class MenuItem extends Clutter.Actor {
if (this._trace.get_height() != MenuItemSettings.traceThickness + 2) {
this._trace.set_height(MenuItemSettings.traceThickness + 2);
this._trace.set_translation(0, -this._trace.get_height() / 2, 0);
this._trace.get_content().set_size(1, MenuItemSettings.traceThickness + 2);
}

// Fade-in the trace it it's currently invisible.
Expand Down Expand Up @@ -1011,7 +1010,7 @@ class MenuItem extends Clutter.Actor {

// We also re-draw the trace line to the currently active child if there is any.
if (this._trace != undefined) {
this._trace.get_content().invalidate();
this._trace.queue_repaint();
}

// Compute the icon container's size and position. We use the maximum size of all icon
Expand Down

0 comments on commit cc67049

Please sign in to comment.