forked from enlightenment/efl
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.
This commit is contained in:
parent
70a888cc03
commit
929cb0ad45
|
@ -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";
|
||||
}
|
||||
|
@ -425,6 +425,11 @@ group { name: "elm/entry/cursor/default";
|
|||
action: STATE_SET "default" 0.0;
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue