forked from Shinonome/dots-hyprland
fix stupid tooltip corner
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user