Skip to content

Commit 985a63b

Browse files
committed
ProjectPlayer: Add HQ pen support
1 parent 1d938d4 commit 985a63b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ProjectPlayer.qml

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ProjectScene {
1616
property alias cloneLimit: loader.cloneLimit
1717
property alias spriteFencing: loader.spriteFencing
1818
property alias mute: loader.mute
19+
property alias hqPen: projectPenLayer.hqPen
1920
property bool showLoadingProgress: true
2021
readonly property bool loading: priv.loading
2122
readonly property int downloadedAssets: loader.downloadedAssets
@@ -141,9 +142,9 @@ ProjectScene {
141142
engine: loader.engine
142143
anchors.top: parent.top
143144
anchors.left: parent.left
144-
width: stageWidth
145-
height: stageHeight
146-
scale: stageScale
145+
width: hqPen ? parent.width : stageWidth
146+
height: hqPen ? parent.height : stageHeight
147+
scale: hqPen ? 1 : stageScale
147148
transformOrigin: Item.TopLeft
148149
visible: !priv.loading
149150
}

0 commit comments

Comments
 (0)