Skip to content

Commit

Permalink
Fix For BlockClock Min Size
Browse files Browse the repository at this point in the history
  • Loading branch information
D33r-Gee committed Dec 20, 2023
1 parent 67150ef commit 69b1ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qml/components/BlockClock.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Item {
id: dial
anchors.horizontalCenter: root.horizontalCenter
scale: Theme.blockclocksize
width: Math.min((root.parentWidth * dial.scale), (root.parentHeight * dial.scale))
// width: Math.min((root.parentWidth * dial.scale), (root.parentHeight * dial.scale)) // old way of scaling the blockclock
width: Math.max(Math.min(200, root.parentWidth - 30), Math.min((root.parentWidth * dial.scale), (root.parentHeight * dial.scale)))
height: dial.width
penWidth: dial.width / 50
timeRatioList: chainModel.timeRatioList
Expand Down

0 comments on commit 69b1ec2

Please sign in to comment.