Skip to content

Commit

Permalink
Comment accuracy improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kain committed Jul 14, 2024
1 parent 13b2850 commit e15ec05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/ags/modules/overview/overview_hyprland.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default (overviewMonitor = 0) => {
const widget = Widget.Box({
className: 'overview-tasks-workspace',
vpack: 'center',
// Adding 1px to minimum width/height to accomodate 1px padding space for contents:
// Rounding and adding 1px to minimum width/height to work around scaling inaccuracy:
css: `
min-width: ${1 + Math.round(monitors[overviewMonitor].width * userOptions.overview.scale)}px;
min-height: ${1 + Math.round(monitors[overviewMonitor].height * userOptions.overview.scale)}px;
Expand Down

0 comments on commit e15ec05

Please sign in to comment.