Skip to content

Commit 73ef828

Browse files
authored
🔀 Merge pull request #349 from Schneegans/fix/#348
2 parents 2afcd50 + 579960a commit 73ef828

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/changelog.md

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ SPDX-License-Identifier: CC-BY-4.0
99

1010
# Changelog of Fly-Pie
1111

12+
## [unreleased]
13+
14+
**Release Date:** TBD
15+
16+
#### Bug Fixes
17+
18+
- Fixed selecting items on GNOME 46 requiring two clicks.
19+
1220
## [Fly-Pie 25](https://github.com/schneegans/fly-pie/releases/tag/v25)
1321

1422
**Release Date:** 2024-02-27

src/extension/MenuItem.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ class MenuItem extends Clutter.Actor {
726726
if (this._trace.get_height() != MenuItemSettings.traceThickness + 2) {
727727
this._trace.set_height(MenuItemSettings.traceThickness + 2);
728728
this._trace.set_translation(0, -this._trace.get_height() / 2, 0);
729-
this._trace.get_content().set_size(1, MenuItemSettings.traceThickness + 2);
730729
}
731730

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

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

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

0 commit comments

Comments
 (0)