]> Some of my projects - aniplayer.git/commitdiff
Fix formatting
authorAPTX <marek321@gmail.com>
Sun, 26 Nov 2017 12:26:28 +0000 (21:26 +0900)
committerAPTX <marek321@gmail.com>
Sun, 26 Nov 2017 12:26:28 +0000 (21:26 +0900)
uiplugins/ui_desktop_qml_default/qml/PlaybackPosition.qml

index c9db341ef9efdfae40a5be7e5e1fc661c8ef2356..b053386c3b09300c811548054552fb95cb558e27 100644 (file)
@@ -4,14 +4,14 @@ import QtQml 2.2
 Item {
     property double duration: 0
     property double position: 0
-Text {
-    text: {
-        if (!timeFormatter) return "";
-        var durationStr = timeFormatter.format(duration);
-        var positionStr = timeFormatter.format(position);
-        return positionStr + " / " + durationStr;
+    Text {
+        text: {
+            if (!timeFormatter) return "";
+            var durationStr = timeFormatter.format(duration);
+            var positionStr = timeFormatter.format(position);
+            return positionStr + " / " + durationStr;
+        }
+        color: "red"
+        anchors.centerIn: parent
     }
-    color: "red"
-    anchors.centerIn: parent
-}
 }