rounding
This commit is contained in:
@@ -33,7 +33,7 @@ Singleton {
|
||||
}
|
||||
|
||||
function applyLightMode() {
|
||||
if (Config.general.color.neovimColors) {
|
||||
if (Config.general.color.schemeGeneration) {
|
||||
Quickshell.execDetached(["zshell-cli", "scheme", "generate", "--image-path", `${WallpaperPath.currentWallpaperPath}`, "--thumbnail-path", `${Paths.cache}/imagecache/thumbnail.jpg`, "--output", `${Paths.state}/scheme.json`, "--scheme", `${Config.colors.schemeType}`, "--mode", "light"]);
|
||||
} else {
|
||||
Quickshell.execDetached(["zshell-cli", "scheme", "generate", "--preset", `${DynamicColors.scheme}:${DynamicColors.flavour}`, "--output", `${Paths.state}/scheme.json`, "--mode", "light"]);
|
||||
|
||||
@@ -7,7 +7,7 @@ ShapePath {
|
||||
id: root
|
||||
|
||||
readonly property bool flatten: wrapper.height < rounding * 2
|
||||
readonly property real rounding: 8
|
||||
readonly property real rounding: Appearance.rounding.normal
|
||||
readonly property real roundingY: flatten ? wrapper.height / 2 : rounding
|
||||
required property Wrapper wrapper
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Item {
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
color: "transparent"
|
||||
radius: 6
|
||||
radius: Appearance.rounding.normal - anchors.margins
|
||||
|
||||
Item {
|
||||
id: view
|
||||
|
||||
Reference in New Issue
Block a user