mirror of
https://github.com/folfcoder/plasma-sharkle.git
synced 2025-06-08 09:49:34 +00:00
Fix margin when scaled
This commit is contained in:
parent
7ed46d101a
commit
f887a640ac
2 changed files with 2 additions and 3 deletions
|
@ -84,9 +84,9 @@ Item {
|
|||
width: parent.width
|
||||
height: parent.height
|
||||
anchors.right: idleImage.left
|
||||
anchors.rightMargin: -60
|
||||
anchors.rightMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||
anchors.bottom: idleImage.top
|
||||
anchors.bottomMargin: -60
|
||||
anchors.bottomMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||
|
||||
source: "../images/" + sharkleColor + "/talk/" + (talkIndex) + ".png"
|
||||
visible: !isIdle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue