From f6db79f205833ac42cacb28829a809262c34676c Mon Sep 17 00:00:00 2001 From: Chidambar Zinnoury Date: Tue, 29 Dec 2015 18:18:09 +0100 Subject: [PATCH] elementary spinner: Disable dragging over the decrease and increase buttons in the default theme. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- legacy/elementary/data/themes/edc/elm/spinner.edc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/data/themes/edc/elm/spinner.edc b/legacy/elementary/data/themes/edc/elm/spinner.edc index b2d1a29322..b2254bbbd5 100644 --- a/legacy/elementary/data/themes/edc/elm/spinner.edc +++ b/legacy/elementary/data/themes/edc/elm/spinner.edc @@ -106,8 +106,8 @@ group { name: "elm/spinner/base/default"; dragable.y: 0 0 0; description { state: "default" 0.0; fixed: 1 0; - rel1.to: "inset"; - rel2.to: "inset"; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; color: 0 0 0 0; } }