merge PopupPanel into HoverPanel with popupMode flag, delete PopupPanel

This commit is contained in:
Damocles 2026-04-13 23:26:35 +02:00
parent 885e446bf4
commit 71258b6d80
6 changed files with 121 additions and 169 deletions

View file

@ -2,10 +2,11 @@ import QtQuick
import Quickshell
import "." as M
M.PopupPanel {
M.HoverPanel {
id: menuWindow
panelWidth: 180
popupMode: true
contentWidth: 180
signal runCommand(var cmd)
@ -56,7 +57,7 @@ M.PopupPanel {
required property var modelData
required property int index
width: menuWindow.panelWidth
width: menuWindow.contentWidth
height: 32
Rectangle {