support image res
This commit is contained in:
parent
e09e24f71f
commit
13c33adedd
@ -43,6 +43,9 @@ void DoricImageNode::blend(QQuickItem *view, QString name, QJsonValue prop) {
|
|||||||
} else if (name == "imageBase64") {
|
} else if (name == "imageBase64") {
|
||||||
container->setProperty("fillMode", this->contentMode);
|
container->setProperty("fillMode", this->contentMode);
|
||||||
container->setProperty("source", prop.toString());
|
container->setProperty("source", prop.toString());
|
||||||
|
} else if (name == "imageRes") {
|
||||||
|
container->setProperty("fillMode", this->contentMode);
|
||||||
|
container->setProperty("source", prop.toString());
|
||||||
} else if (name == "isBlur") {
|
} else if (name == "isBlur") {
|
||||||
if (prop.toBool()) {
|
if (prop.toBool()) {
|
||||||
container->setProperty("isBlur", prop.toBool());
|
container->setProperty("isBlur", prop.toBool());
|
||||||
|
Reference in New Issue
Block a user