Merge changes Ibd690b68,Icafe38f8,I68c61f3e into tizen_7.0 accepted/tizen/7.0/unified/20230825.185051
authorSeungho BAEK <sbsh.baek@samsung.com>
Wed, 23 Aug 2023 07:04:22 +0000 (07:04 +0000)
committerGerrit Code Review <gerrit@review>
Wed, 23 Aug 2023 07:04:22 +0000 (07:04 +0000)
* changes:
  [Tizen] Fix to do not try to bind texture when there is no active texture in shader code
  [Tizen] Support int uniform in shader
  [Tizen] Enabled sampler arrays in shader

dali/devel-api/adaptor-framework/accessibility.cpp

index 915da51..221a7ad 100644 (file)
@@ -445,12 +445,17 @@ public:
       state[State::VISIBLE]   = true;
       state[State::ACTIVE]    = visible;
     }
-    else
+    else if (GetParent())
     {
       auto parentState      = GetParent()->GetStates();
       state[State::SHOWING] = parentState[State::SHOWING];
       state[State::VISIBLE] = parentState[State::VISIBLE];
     }
+    else
+    {
+      state[State::SHOWING] = false;
+      state[State::VISIBLE] = false;
+    }
     return state;
   }