Skip to content

Commit

Permalink
Clean code & Update to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
yilozt committed Sep 8, 2022
1 parent fd56e10 commit e4aa3ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion resources/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Rounded Window Corners",
"description": "Add rounded corners for all windows",
"uuid": "rounded-window-corners@yilozt",
"version": "5",
"version": "6",
"url": "https://github.com/yilozt/rounded-window-corners",
"shell-version": ["40", "41", "42"]
}
3 changes: 0 additions & 3 deletions src/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ declare const global: Global,
declare const imports = {
gi: { Adw },
ui: { windowPreview },
__modulePath__: string,
__moduleName__: string,
__parentModule__: string,
}

declare const Me: {
Expand Down
2 changes: 0 additions & 2 deletions src/manager/rounded_corners_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,6 @@ export class RoundedCornersManager {
if (!border_radius || !padding) {
return
}

// Padding for Kitty terminal should always be zero
const { left, right, top, bottom } = padding

// Increasing border_radius when smoothing is on
Expand Down

0 comments on commit e4aa3ec

Please sign in to comment.