mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Working on mac sizing
This commit is contained in:
parent
7e32bfb85e
commit
c5e0298f8d
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ TextOverlayElement {
|
|||
text: root.text
|
||||
color: root.textColor
|
||||
font.family: root.fontFamily
|
||||
font.pointSize: root.fontSize
|
||||
font.pixelSize: root.fontSize
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -165,7 +165,7 @@ void TextOverlay::setProperties(const QScriptValue& properties) {
|
|||
QScriptValue font = properties.property("font");
|
||||
if (font.isObject()) {
|
||||
if (font.property("size").isValid()) {
|
||||
setFontSize(font.property("size").toInt32() / 1.2);
|
||||
setFontSize(font.property("size").toInt32());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue