Skip to content

Commit

Permalink
reduce the range of GPU Sharpen parameters
Browse files Browse the repository at this point in the history
This makes the controls more usable by being less sensitive and less
wandering around in unuseful values.
  • Loading branch information
ddennedy committed Apr 17, 2023
1 parent 804e02e commit 069c4e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/qml/filters/sharpen/meta_movit.qml
Expand Up @@ -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
}
]
Expand Down
10 changes: 5 additions & 5 deletions 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
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -212,7 +212,7 @@ Item {
id: correlationSlider

minimumValue: 0
maximumValue: 1
maximumValue: 0.99
decimals: 2
onValueChanged: updateFilter('correlation', value, getPosition(), correlationKeyframesButton)
}
Expand All @@ -236,7 +236,7 @@ Item {
Shotcut.SliderSpinner {
id: noiseSlider

minimumValue: 0
minimumValue: 0.01
maximumValue: 1
decimals: 2
onValueChanged: updateFilter('noise', value, getPosition(), noiseKeyframesButton)
Expand Down

0 comments on commit 069c4e5

Please sign in to comment.