From 0f0ba13618384471247f1f4ee5753d48977d7ad7 Mon Sep 17 00:00:00 2001 From: Maria Bialota Date: Wed, 16 Jun 2021 13:48:47 +0200 Subject: [PATCH] [AT-SPI] Set ImageView non-highlightable by default Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true. Until now the highlightability of the ImageView was overrided by an AT-SPI Role check in dali-adaptor, so the line removed has been already a dead code. Now the Role check has been removed and we want ImageView to be non-highlightable by default. From now on if we want to turn on highlightability for certain instances of ImageView we can set the ACCESSIBILITY_HIGHLIGHTABLE property in runtime. Change-Id: Ide151a114d970f856217b34945d4c7e9cbbecda0 --- dali-toolkit/internal/controls/image-view/image-view-impl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp index 556711f..f49f82d 100644 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp @@ -97,9 +97,6 @@ void ImageView::OnInitialize() return std::unique_ptr( new DevelControl::AccessibleImpl(actor, Dali::Accessibility::Role::IMAGE)); }); - - //Enable highightability - Self().SetProperty(Toolkit::DevelControl::Property::ACCESSIBILITY_HIGHLIGHTABLE, true); } void ImageView::SetImage(const Property::Map& map) -- 2.7.4