From: Adeel Kazmi Date: Fri, 24 Jun 2022 11:11:11 +0000 (+0100) Subject: (AnimatedImages) Changed the fitting mode as the default has changed X-Git-Tag: dali_2.1.29~1^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=13dabf5e92f785a63af7d9a640c3cb9ce3133f23 (AnimatedImages) Changed the fitting mode as the default has changed Change-Id: Ifc672440be5f44a055e0ec8fddd4a9005bc8e5d4 --- diff --git a/examples/animated-images/animated-images-example.cpp b/examples/animated-images/animated-images-example.cpp index 9db95e4..14b4500 100644 --- a/examples/animated-images/animated-images-example.cpp +++ b/examples/animated-images/animated-images-example.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ #include #include #include +#include using namespace Dali; using namespace Dali::Toolkit; @@ -338,6 +339,7 @@ private: } map.Add(Toolkit::ImageVisual::Property::URL, Property::Value(frameUrls)); } + map.Add(DevelVisual::Property::VISUAL_FITTING_MODE, DevelVisual::FIT_KEEP_ASPECT_RATIO); } /**