Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
thrombe committed Apr 27, 2024
2 parents 6554f64 + 219159d commit 7ee74f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/src/overview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ void OverviewWorkspace::render_top_layers(timespec* time) {
void OverviewWorkspace::render_border(CBox bbox, CColor col, int border_size) {
bbox.expand(-border_size);
bbox.round();
bbox.w = std::max(bbox.w, 1.0);
bbox.h = std::max(bbox.h, 1.0);
CGradientValueData grad = {col};

g_pHyprOpenGL->renderBorder(&bbox, grad, 0, border_size);
Expand Down

0 comments on commit 7ee74f3

Please sign in to comment.