Skip to content

Commit

Permalink
V1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sardid committed Aug 31, 2022
1 parent ecca4d0 commit f94a92d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

project(sierrabreezeenhanced)
set(PROJECT_VERSION "1.1.0")
set(PROJECT_VERSION "1.2.0")
set(PROJECT_VERSION_MAJOR 0)

cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

V1.2.0
---------

* Fixes issue #108

V1.1.0
---------

Expand Down
19 changes: 1 addition & 18 deletions breezedecoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,24 +944,6 @@ namespace Breeze
else
painter->setBrush( titleBarColor );

auto s = settings();
// // The following conditional creates a color dissonance when opacity is active between the titlebar and the borders.
// // I don't think it's needed anyway since version 1.1.0, but keeping this comment here for the case, this needs to be reverted.
// if( !s->isAlphaChannelSupported() )
// painter->drawRect(titleRect);
// else if ( !hasBorders() ) {
// painter->setClipRect(titleRect, Qt::IntersectClip);
// // the rect is made a little bit larger to be able to clip away the rounded corners at the bottom and sides
// painter->drawRoundedRect(titleRect.adjusted(
// isLeftEdge() ? -m_internalSettings->cornerRadius():0,
// isTopEdge() ? -m_internalSettings->cornerRadius():0,
// isRightEdge() ? m_internalSettings->cornerRadius():0,
// m_internalSettings->cornerRadius()),
// m_internalSettings->cornerRadius(), m_internalSettings->cornerRadius());
// }
// else
// painter->drawRoundedRect(titleRect, m_internalSettings->cornerRadius(), m_internalSettings->cornerRadius());

if( !c->isShaded() && !hideTitleBar() && outlineColor.isValid() )
{
// outline
Expand All @@ -975,6 +957,7 @@ namespace Breeze

painter->restore();

auto s = settings();
if( !hideTitleBar() ) {
// draw caption
painter->setFont(s->font());
Expand Down

0 comments on commit f94a92d

Please sign in to comment.