[NUI] Change Feedback default as false in Control
authorDongsug Song <dongsug.song@samsung.com>
Tue, 26 Jan 2021 09:10:22 +0000 (18:10 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 26 Jan 2021 09:21:09 +0000 (18:21 +0900)
- Change Feedback default as false in Control
- Change Feedback as true in each Components (ex: Switch, Button)

src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Control.cs
src/Tizen.NUI.Components/Controls/Switch.cs

index ca6dcf3..60e3fae 100755 (executable)
@@ -414,6 +414,8 @@ namespace Tizen.NUI.Components
             LayoutDirectionChanged += OnLayoutDirectionChanged;
 
             AccessibilityManager.Instance.SetAccessibilityAttribute(this, AccessibilityManager.AccessibilityAttribute.Trait, "Button");
+            
+            Feedback = true;
         }
 
         private void UpdateUIContent()
index e7869a6..fb675a9 100755 (executable)
@@ -300,8 +300,6 @@ namespace Tizen.NUI.Components
             StateFocusableOnTouchMode = false;
 
             EnableControlState = true;
-
-            Feedback = true;
         }
     }
 }
index 616617a..809cd42 100755 (executable)
@@ -315,6 +315,7 @@ namespace Tizen.NUI.Components
         private void Initialize()
         {
             IsSelectable = true;
+            Feedback = true;
         }
 
         private void OnSelect()