parent
5f640957d8
commit
6ed42757f3
1 changed files with 36 additions and 0 deletions
@ -0,0 +1,36 @@ |
||||
From 3cf65bb843e1490ed6e7b6ae2c0612392d37e793 Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Fri, 23 Jan 2026 14:42:06 -0500
|
||||
Subject: [PATCH] [breeze] Go full Moleskine
|
||||
|
||||
---
|
||||
kdecoration/breezedecoration.cpp | 12 +++---------
|
||||
1 file changed, 3 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/kdecoration/breezedecoration.cpp b/kdecoration/breezedecoration.cpp
|
||||
index cc1e7edc..94b5c20a 100644
|
||||
--- a/kdecoration/breezedecoration.cpp
|
||||
+++ b/kdecoration/breezedecoration.cpp
|
||||
@@ -467,16 +467,10 @@ void Decoration::recalculateBorders()
|
||||
qreal bottomLeftRadius = 0;
|
||||
qreal bottomRightRadius = 0;
|
||||
if (hasNoBorders() && m_internalSettings->roundedCorners()) {
|
||||
- if (!isBottomEdge()) {
|
||||
- if (!isLeftEdge()) {
|
||||
- bottomLeftRadius = m_scaledCornerRadius;
|
||||
- }
|
||||
- if (!isRightEdge()) {
|
||||
- bottomRightRadius = m_scaledCornerRadius;
|
||||
- }
|
||||
- }
|
||||
+ bottomLeftRadius = m_scaledCornerRadius;
|
||||
+ bottomRightRadius = m_scaledCornerRadius;
|
||||
}
|
||||
- setBorderRadius(KDecoration3::BorderRadius(0, 0, bottomRightRadius, bottomLeftRadius));
|
||||
+ setBorderRadius(KDecoration3::BorderRadius(bottomRightRadius, bottomLeftRadius, bottomRightRadius, bottomLeftRadius));
|
||||
|
||||
if (isMaximized() || !outlinesEnabled()) {
|
||||
setBorderOutline(KDecoration3::BorderOutline());
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Loading…
Reference in new issue