Remove unused HScalingBox component

This commit is contained in:
miruka 2019-08-27 22:44:20 -04:00
parent ebfebbeae1
commit 9b83b91d9d

View File

@ -1,15 +0,0 @@
import QtQuick 2.12
HRectangle {
property real widthForHeight: 0.75
property int baseHeight: 300
property int startScalingUpAboveHeight: 1080
readonly property int baseWidth: baseHeight * widthForHeight
readonly property int margins: baseHeight * 0.03
color: theme.controls.box.background
height: Math.min(parent.height, baseHeight)
width: Math.min(parent.width, baseWidth)
scale: Math.max(1, parent.height / startScalingUpAboveHeight)
}