mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix stupid tooltip corner
This commit is contained in:
parent
08a2cb7234
commit
7b8582124d
4 changed files with 8 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ group_toolbar_buttons=false
|
|||
toolbar_item_spacing=0
|
||||
toolbar_interior_spacing=2
|
||||
spread_progressbar=true
|
||||
composite=false
|
||||
composite=true
|
||||
menu_shadow_depth=6
|
||||
spread_menuitems=false
|
||||
tooltip_shadow_depth=7
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ group_toolbar_buttons=false
|
|||
toolbar_item_spacing=0
|
||||
toolbar_interior_spacing=2
|
||||
spread_progressbar=true
|
||||
composite=false
|
||||
composite=true
|
||||
menu_shadow_depth=6
|
||||
spread_menuitems=false
|
||||
tooltip_shadow_depth=7
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ group_toolbar_buttons=false
|
|||
toolbar_item_spacing=0
|
||||
toolbar_interior_spacing=2
|
||||
spread_progressbar=true
|
||||
composite=false
|
||||
composite=true
|
||||
menu_shadow_depth=6
|
||||
spread_menuitems=false
|
||||
tooltip_shadow_depth=7
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ MouseArea {
|
|||
item.activate();
|
||||
break;
|
||||
case Qt.RightButton:
|
||||
item.hasMenu && menu.open();
|
||||
break;
|
||||
if (item.hasMenu) {
|
||||
menu.open();
|
||||
}
|
||||
default:
|
||||
console.log("Buttonevent unhandled");
|
||||
}
|
||||
|
|
@ -35,8 +36,8 @@ MouseArea {
|
|||
anchor.window: bar
|
||||
anchor.rect.x: root.x + bar.width
|
||||
anchor.rect.y: root.y
|
||||
anchor.rect.height: root.height * 3
|
||||
anchor.edges: Edges.Left | Edges.Bottom
|
||||
anchor.rect.height: root.height
|
||||
anchor.edges: Edges.Bottom
|
||||
}
|
||||
|
||||
IconImage {
|
||||
|
|
|
|||
Loading…
Reference in a new issue