projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed synchronous image size getter
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
event
/
images
/
nine-patch-image-impl.cpp
diff --git
a/dali/internal/event/images/nine-patch-image-impl.cpp
b/dali/internal/event/images/nine-patch-image-impl.cpp
index
65cbb72
..
32e584a
100644
(file)
--- a/
dali/internal/event/images/nine-patch-image-impl.cpp
+++ b/
dali/internal/event/images/nine-patch-image-impl.cpp
@@
-157,6
+157,8
@@
NinePatchImage::NinePatchImage( const std::string& filename, const Dali::ImageAt
loadedAttrs.SetSize( closestSize );
mWidth = closestSize.width;
mHeight = closestSize.height;
+ mNaturalSizeSet = true;
+
Integration::BitmapResourceType resourceType( loadedAttrs );
// Note, bitmap is only destroyed when the image is destroyed.