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") {
|
||||
container->setProperty("fillMode", this->contentMode);
|
||||
container->setProperty("source", prop.toString());
|
||||
} else if (name == "imageRes") {
|
||||
container->setProperty("fillMode", this->contentMode);
|
||||
container->setProperty("source", prop.toString());
|
||||
} else if (name == "isBlur") {
|
||||
if (prop.toBool()) {
|
||||
container->setProperty("isBlur", prop.toBool());
|
||||
|
Reference in New Issue
Block a user