From 7604798dc2cae0adfa3208eaf59013019834460a Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 20 Jan 2022 14:06:07 +0000 Subject: [PATCH] Forced all ControlWrapper instances to ignore styling This turns off all native styling for NUI Views. Change-Id: I28edb8401bad6a732bc6e1f2922740e02ffb8c6b Signed-off-by: David Steele --- dali-toolkit/devel-api/controls/control-wrapper-impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp b/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp index 2056d66..78e4428 100644 --- a/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp +++ b/dali-toolkit/devel-api/controls/control-wrapper-impl.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. @@ -84,7 +84,7 @@ Dali::Toolkit::ControlWrapper ControlWrapper::New(const std::string& typeName, C } ControlWrapper::ControlWrapper(CustomControlBehaviour behaviourFlags) -: Control(static_cast(behaviourFlags)) +: Control(static_cast(behaviourFlags | DISABLE_STYLE_CHANGE_SIGNALS)) { } -- 2.7.4