forked from enlightenment/efl
fix visiblity of entry cursor when selections exist
this fixes T1229 - the other part about cursor visibility. @fix
This commit is contained in:
parent
c565ec1cde
commit
7a3fa2425a
|
@ -323,6 +323,7 @@ group { name: "elm/entry/cursor/default";
|
||||||
images.image: "white_bar_vert_glow.png" COMP;
|
images.image: "white_bar_vert_glow.png" COMP;
|
||||||
parts {
|
parts {
|
||||||
part { name: "cursor"; mouse_events: 0;
|
part { name: "cursor"; mouse_events: 0;
|
||||||
|
clip_to: "clipper";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.offset: -4 -4;
|
rel1.offset: -4 -4;
|
||||||
rel2.offset: 3 3;
|
rel2.offset: 3 3;
|
||||||
|
@ -337,8 +338,29 @@ group { name: "elm/entry/cursor/default";
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part { name: "clipper"; type: RECT;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1.to: "cursor";
|
||||||
|
rel2.to: "cursor";
|
||||||
|
fixed: 1 1;
|
||||||
|
}
|
||||||
|
description { state: "hidden" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
programs {
|
programs {
|
||||||
|
program {
|
||||||
|
signal: "selection,start"; source: "elm.text";
|
||||||
|
action: STATE_SET "hidden" 0.0;
|
||||||
|
target: "clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
signal: "selection,cleared"; source: "elm.text";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "clipper";
|
||||||
|
}
|
||||||
program {
|
program {
|
||||||
signal: "elm,action,focus"; source: "elm";
|
signal: "elm,action,focus"; source: "elm";
|
||||||
action: ACTION_STOP;
|
action: ACTION_STOP;
|
||||||
|
|
Loading…
Reference in New Issue