Skip to content

Commit

Permalink
#25: remove margins around Oxygen buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
antroids committed May 24, 2024
1 parent 923a090 commit 12ded0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package/contents/ui/theme/OxygenWindowControlButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ OxygenWindowControlButtonIcon {
property int animationDuration: 0

anchors.fill: parent
anchors.margins: 3
opacity: 0

Behavior on opacity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Canvas {
function calcGlowColor() {
if (buttonType === WindowControlButton.Type.CloseButton) {
return negativeForegroundColor;
} else if (hovered && (toggleButton && checked)) {
} else if (hovered && toggleButton && checked) {
return inactiveForegroundColor;
} else if (toggleButton && checked) {
return checkedForegroundColor;
Expand Down

0 comments on commit 12ded0e

Please sign in to comment.