change width & height to correct value
This commit is contained in:
parent
c74ae5a189
commit
f012d835dd
@ -53,8 +53,8 @@ void DoricImageNode::onReady() {
|
|||||||
QVariantList args;
|
QVariantList args;
|
||||||
|
|
||||||
QMap<QString, QVariant> map;
|
QMap<QString, QVariant> map;
|
||||||
map.insert("width", 0);
|
map.insert("width", mView->width());
|
||||||
map.insert("height", 0);
|
map.insert("height", mView->height());
|
||||||
|
|
||||||
args.append(QVariant::fromValue(map));
|
args.append(QVariant::fromValue(map));
|
||||||
this->callJSResponse(this->loadCallbackId, args);
|
this->callJSResponse(this->loadCallbackId, args);
|
||||||
|
Reference in New Issue
Block a user