mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk-ng: fix up background of resize and url overlays
PR #8088 had the unexpected side-effect of making the resize and url overlays transparent as well. This PR fixes that.
This commit is contained in:
@ -29,12 +29,12 @@ label.url-overlay.right {
|
||||
/*
|
||||
* GhosttySurface resize overlay
|
||||
*/
|
||||
.size-overlay label {
|
||||
label.resize-overlay {
|
||||
padding: 4px 8px 4px 8px;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
outline-style: solid;
|
||||
outline-width: 1px;
|
||||
outline-color: #555555;
|
||||
outline-width: 1px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -11,6 +11,11 @@ template $GhosttyResizeOverlay: Adw.Bin {
|
||||
// See surface.blp for why we need to wrap this.
|
||||
Adw.Bin {
|
||||
Label label {
|
||||
styles [
|
||||
"background",
|
||||
"resize-overlay",
|
||||
]
|
||||
|
||||
focusable: false;
|
||||
focus-on-click: false;
|
||||
justify: center;
|
||||
|
@ -47,15 +47,12 @@ template $GhosttySurface: Adw.Bin {
|
||||
}
|
||||
|
||||
[overlay]
|
||||
$GhosttyResizeOverlay resize_overlay {
|
||||
styles [
|
||||
"size-overlay",
|
||||
]
|
||||
}
|
||||
$GhosttyResizeOverlay resize_overlay {}
|
||||
|
||||
[overlay]
|
||||
Label url_left {
|
||||
styles [
|
||||
"background",
|
||||
"url-overlay",
|
||||
]
|
||||
|
||||
@ -73,6 +70,7 @@ template $GhosttySurface: Adw.Bin {
|
||||
[overlay]
|
||||
Label url_right {
|
||||
styles [
|
||||
"background",
|
||||
"url-overlay",
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user