forked from enlightenment/efl
elm button theme - fix anchor style to not pass events when disabled
@fix
This commit is contained in:
parent
1433d66bfa
commit
d10348802d
|
@ -482,13 +482,9 @@ group { name: "elm/button/base/anchor";
|
|||
}
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
rect { "base";
|
||||
desc { "default";
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
|
@ -688,7 +684,6 @@ group { name: "elm/button/base/anchor";
|
|||
}
|
||||
program { name: "button_click_anim";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "base";
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
|
@ -699,14 +694,12 @@ group { name: "elm/button/base/anchor";
|
|||
}
|
||||
program { name: "button_unclick_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
program {
|
||||
signal: "elm,anim,activate"; source: "elm";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "base";
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
after: "button_unpressed_anim";
|
||||
|
@ -714,7 +707,6 @@ group { name: "elm/button/base/anchor";
|
|||
program { name: "button_unpressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
in: 0.5 0.0;
|
||||
target: "base";
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue