diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-13 13:10:10 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-27 08:13:57 +0000 |
commit | 5260805b162030a6900bacf46d2a55b69075ae09 (patch) | |
tree | 935b9da293776792bbfff5cdad568996690c6e3e /src/styles | |
parent | 87c5967277c26c8154c2fee1db5ba3debb9b5b19 (diff) |
Qtify new API
Add "is" to C++ getter functions returning bool (where applicable).
Add "Active" to "shift" and "capsLock" QML properties, etc. By making
these names more explicit, it's clearer what they do and also
future-proofs the API by allowing us to add related properties in
the future if necessary.
[ChangeLog][InputContext] Deprecated shift and capsLock properties
in favor of shiftActive and capsLockActive.
Change-Id: I66f2c85b50622a6e5fe6b25fb24f13be27acaf9d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/TraceUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styles/TraceUtils.js b/src/styles/TraceUtils.js index f2dd9bbb..c02ce5e9 100644 --- a/src/styles/TraceUtils.js +++ b/src/styles/TraceUtils.js @@ -74,7 +74,7 @@ function renderSmoothedLine(ctx, trace, renderPos) { } // Draw the remainder of the line - if (trace.isFinal) { + if (trace.final) { if (i < points.length) { tp = points[i - 1] ctx.beginPath() |