mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
lottie/example: remove unused evas object from evasapp class.
Change-Id: I84f8b0b624ba8c81af91cd6d0c2d1adb5fa82db4
This commit is contained in:
@@ -68,19 +68,12 @@ EvasApp::setup()
|
||||
mBackground = evas_object_rectangle_add(mEvas);
|
||||
evas_object_color_set(mBackground, 70, 70, 70, 255);
|
||||
evas_object_show(mBackground);
|
||||
|
||||
mVg = evas_object_vg_add(mEvas);
|
||||
evas_object_show(mVg);
|
||||
|
||||
mRoot = evas_vg_container_add(mVg);
|
||||
evas_object_vg_root_node_set(mVg, mRoot);
|
||||
}
|
||||
|
||||
void
|
||||
EvasApp::resize(int w, int h)
|
||||
{
|
||||
evas_object_resize(mBackground, w, h);
|
||||
evas_object_resize(mVg, w, h);
|
||||
mw = w;
|
||||
mh = h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user