From: Maria Bialota Date: Thu, 17 Jun 2021 19:20:24 +0000 (+0200) Subject: [AT-SPI] Set CanvasView non-highlightable by default X-Git-Tag: dali_2.0.34~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6373ff9142672aebb0160279302454a4849369c3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [AT-SPI] Set CanvasView non-highlightable by default Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true. Until now the highlightability of the CanvasView was overrided by an AT-SPI IMAGE 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 CanvasView to be non-highlightable by default. From now on if we want to turn on highlightability for certain instances of CanvasView we can set the ACCESSIBILITY_HIGHLIGHTABLE property in runtime. Change-Id: Ie6d695c6aa61f77e34029481e46ccd3b7fea7ac0 --- diff --git a/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.cpp b/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.cpp index 342784a..6d310cf 100644 --- a/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.cpp +++ b/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.cpp @@ -91,8 +91,6 @@ void CanvasView::OnInitialize() new DevelControl::AccessibleImpl(actor, Dali::Accessibility::Role::IMAGE)); }); - Self().SetProperty(Toolkit::DevelControl::Property::ACCESSIBILITY_HIGHLIGHTABLE, true); - Adaptor::Get().RegisterProcessor(*this); }