mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
cleanup: fix typo: verboseEnabebled -> verboseEnabled
Not really relevant, because it only affects debugging output. But shows why I dislike weakly typed, non-compiled languages. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9e059be4ca
commit
a7889d1f4e
2 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ Item {
|
|||
// before realizing that this is actually a pinch/zoom. So let's reset this
|
||||
// just in case
|
||||
qmlProfile.opacity = 1.0
|
||||
if (manager.verboseEnabebled)
|
||||
if (manager.verboseEnabled)
|
||||
manager.appendTextToLog("pinch started w/ previousScale " + qmlProfile.lastScale)
|
||||
}
|
||||
onPinchUpdated: {
|
||||
|
|
|
@ -65,7 +65,7 @@ Controls.TextField {
|
|||
// make sure there's enough space for the input field above the keyboard and action button (and that it's not too far up, either)
|
||||
var positionInFlickable = stf.mapToItem(flickable.contentItem, 0, 0)
|
||||
var stfY = positionInFlickable.y
|
||||
if (manager.verboseEnabebled)
|
||||
if (manager.verboseEnabled)
|
||||
manager.appendTextToLog("position check: lower edge of view is " + (0 + flickable.contentY + flickable.height) + " and text field is at " + stfY)
|
||||
if (stfY + stf.height > flickable.contentY + flickable.height - 3 * Kirigami.Units.gridUnit || stfY < flickable.contentY)
|
||||
flickable.contentY = Math.max(0, 3 * Kirigami.Units.gridUnit + stfY + stf.height - flickable.height)
|
||||
|
|
Loading…
Reference in a new issue