summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2015-12-03 10:06:03 +0200
committerDaniel Hirt <daniel.hirt@samsung.com>2015-12-03 10:10:47 +0200
commit7df562fed5a2fe4c4eae4880fd65b8b448da6b9b (patch)
tree616bb5899b287329674004de9ae5f449ad33b815
parent55c5f3b6169ea0a7e230675f6ba8c2b7b122cd6a (diff)
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.
-rw-r--r--data/themes/edc/elm/entry.edc7
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";
416 } 416 }
417 programs { 417 programs {
418 program { 418 program {
419 signal: "selection,start"; source: "elm.text"; 419 signal: "selection,changed"; source: "elm.text";
420 action: STATE_SET "hidden" 0.0; 420 action: STATE_SET "hidden" 0.0;
421 target: "clipper"; 421 target: "clipper";
422 } 422 }
@@ -426,6 +426,11 @@ group { name: "elm/entry/cursor/default";
426 target: "clipper"; 426 target: "clipper";
427 } 427 }
428 program { 428 program {
429 signal: "selection,reset"; source: "elm.text";
430 action: STATE_SET "default" 0.0;
431 target: "clipper";
432 }
433 program {
429 signal: "elm,action,focus"; source: "elm"; 434 signal: "elm,action,focus"; source: "elm";
430 action: ACTION_STOP; 435 action: ACTION_STOP;
431 target: "cursor_show"; 436 target: "cursor_show";