summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2015-12-29 18:18:09 +0100
committerChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2015-12-29 18:55:56 +0100
commit329faede52765f69faba258287cedbae6cf7659e (patch)
tree11ebd5ad75d79a563b357dc52906de2c2d30a29e
parentfbbd8a86de623bf104821f34dd7473e8f76c6bb7 (diff)
elementary spinner: Disable dragging over the decrease and increase buttons in the default theme.
Previously, clicking and holding the decrease or increase button would start the drag mode, which made the buttons pretty much unusable on a touchscreen. Now, it is only set over the text button as expected. For the record, dragging is unusable for a small count of discrete values as the value will change for each and every pixel movement–have a go at the months spinner test.
-rw-r--r--data/themes/edc/elm/spinner.edc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/themes/edc/elm/spinner.edc b/data/themes/edc/elm/spinner.edc
index b2d1a2932..b2254bbbd 100644
--- a/data/themes/edc/elm/spinner.edc
+++ b/data/themes/edc/elm/spinner.edc
@@ -106,8 +106,8 @@ group { name: "elm/spinner/base/default";
106 dragable.y: 0 0 0; 106 dragable.y: 0 0 0;
107 description { state: "default" 0.0; 107 description { state: "default" 0.0;
108 fixed: 1 0; 108 fixed: 1 0;
109 rel1.to: "inset"; 109 rel1.to: "elm.swallow.text_button";
110 rel2.to: "inset"; 110 rel2.to: "elm.swallow.text_button";
111 color: 0 0 0 0; 111 color: 0 0 0 0;
112 } 112 }
113 } 113 }