From 069c4e5b2f3c3eb56724780264af52eade7ec672 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sun, 16 Apr 2023 21:40:49 -0700 Subject: [PATCH] reduce the range of GPU Sharpen parameters This makes the controls more usable by being less sensitive and less wandering around in unuseful values. --- src/qml/filters/sharpen/meta_movit.qml | 8 ++++---- src/qml/filters/sharpen/ui_movit.qml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/qml/filters/sharpen/meta_movit.qml b/src/qml/filters/sharpen/meta_movit.qml index c647a2eb1c..9f27ac7cab 100644 --- a/src/qml/filters/sharpen/meta_movit.qml +++ b/src/qml/filters/sharpen/meta_movit.qml @@ -20,27 +20,27 @@ Metadata { property: 'circle_radius' isCurve: true minimum: 0 - maximum: 99.99 + maximum: 10 }, Parameter { name: qsTr('Gaussian radius') property: 'gaussian_radius' isCurve: true minimum: 0 - maximum: 99.99 + maximum: 10 }, Parameter { name: qsTr('Correlation') property: 'correlation' isCurve: true minimum: 0 - maximum: 1 + maximum: 0.99 }, Parameter { name: qsTr('Noise') property: 'noise' isCurve: true - minimum: 0 + minimum: 0.01 maximum: 1 } ] diff --git a/src/qml/filters/sharpen/ui_movit.qml b/src/qml/filters/sharpen/ui_movit.qml index c9730cd8e4..5ee3592c40 100644 --- a/src/qml/filters/sharpen/ui_movit.qml +++ b/src/qml/filters/sharpen/ui_movit.qml @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2022 Meltytech, LLC + * Copyright (c) 2014-2023 Meltytech, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -160,7 +160,7 @@ Item { id: circleSlider minimumValue: 0 - maximumValue: 99.99 + maximumValue: 10 decimals: 2 stepSize: 0.1 onValueChanged: updateFilter('circle_radius', value, getPosition(), circleKeyframesButton) @@ -186,7 +186,7 @@ Item { id: gaussianSlider minimumValue: 0 - maximumValue: 99.99 + maximumValue: 10 decimals: 2 stepSize: 0.1 onValueChanged: updateFilter('gaussian_radius', value, getPosition(), gaussianKeyframesButton) @@ -212,7 +212,7 @@ Item { id: correlationSlider minimumValue: 0 - maximumValue: 1 + maximumValue: 0.99 decimals: 2 onValueChanged: updateFilter('correlation', value, getPosition(), correlationKeyframesButton) } @@ -236,7 +236,7 @@ Item { Shotcut.SliderSpinner { id: noiseSlider - minimumValue: 0 + minimumValue: 0.01 maximumValue: 1 decimals: 2 onValueChanged: updateFilter('noise', value, getPosition(), noiseKeyframesButton)