diff options
author | Daniel Hirt <daniel.hirt@samsung.com> | 2015-12-03 10:06:03 +0200 |
---|---|---|
committer | Daniel Hirt <daniel.hirt@samsung.com> | 2015-12-03 10:10:47 +0200 |
commit | 7df562fed5a2fe4c4eae4880fd65b8b448da6b9b (patch) | |
tree | 616bb5899b287329674004de9ae5f449ad33b815 /data | |
parent | 55c5f3b6169ea0a7e230675f6ba8c2b7b122cd6a (diff) | |
download | elementary-7df562fed5a2fe4c4eae4880fd65b8b448da6b9b.tar.gz |
Entry: add "selection,reset" state
This change will hide the cursor once there is an actual change, and
there is a difference between the selection cursors. If there is no
difference, then it is better to show the cursor again.
Diffstat (limited to 'data')
-rw-r--r-- | data/themes/edc/elm/entry.edc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/data/themes/edc/elm/entry.edc b/data/themes/edc/elm/entry.edc index 1a110c381..390a9552e 100644 --- a/data/themes/edc/elm/entry.edc +++ b/data/themes/edc/elm/entry.edc @@ -416,7 +416,7 @@ group { name: "elm/entry/cursor/default"; } programs { program { - signal: "selection,start"; source: "elm.text"; + signal: "selection,changed"; source: "elm.text"; action: STATE_SET "hidden" 0.0; target: "clipper"; } @@ -426,6 +426,11 @@ group { name: "elm/entry/cursor/default"; target: "clipper"; } program { + signal: "selection,reset"; source: "elm.text"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { signal: "elm,action,focus"; source: "elm"; action: ACTION_STOP; target: "cursor_show"; |