Skip to content

Commit

Permalink
fix layout on map canvas + fix map loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Mar 19, 2024
1 parent e9d1b49 commit 0496d95
Show file tree
Hide file tree
Showing 7 changed files with 678 additions and 596 deletions.
1 change: 1 addition & 0 deletions app/mmstyle.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ class MMStyle: public QObject
Q_PROPERTY( double row36 READ number36 CONSTANT )
Q_PROPERTY( double row40 READ number40 CONSTANT )
Q_PROPERTY( double row49 READ number49 CONSTANT )
Q_PROPERTY( double row50 READ number50 CONSTANT )
Q_PROPERTY( double row60 READ number60 CONSTANT )
Q_PROPERTY( double row63 READ number63 CONSTANT )
Q_PROPERTY( double row67 READ number67 CONSTANT )
Expand Down
5 changes: 3 additions & 2 deletions app/qml/components/MMBusyIndicator.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ Item {

property real size: 60 * __dp
property alias running: root.visible
property alias icon: iconComponent
property int speed: 800

width: root.size
height: root.size
visible: false

Image {
id: icon
id: iconComponent
anchors.fill: parent
source: __style.loadingIndicatorImage
sourceSize.width: width
Expand All @@ -30,7 +31,7 @@ Item {
}

RotationAnimation {
target: root
target: iconComponent

from: 0
to: 360
Expand Down

0 comments on commit 0496d95

Please sign in to comment.