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.
This commit is contained in:
Chidambar Zinnoury 2015-12-29 18:18:09 +01:00
parent 1053feafa1
commit f6db79f205
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}