summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-25 16:23:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-25 16:23:45 +0900
commitd10348802de09dc078930a4c3ad7652a3fcb7a9a (patch)
tree546e5228a0357d80681d2bc58330d830eda0488f
parent1433d66bfaea1093580e5efc48d785c3af12c20f (diff)
elm button theme - fix anchor style to not pass events when disabled
@fix
-rw-r--r--data/elementary/themes/edc/elm/button.edc12
1 files changed, 2 insertions, 10 deletions
diff --git a/data/elementary/themes/edc/elm/button.edc b/data/elementary/themes/edc/elm/button.edc
index 3ddd0b8e8b..052893110f 100644
--- a/data/elementary/themes/edc/elm/button.edc
+++ b/data/elementary/themes/edc/elm/button.edc
@@ -482,13 +482,9 @@ group { name: "elm/button/base/anchor";
482 } 482 }
483 } 483 }
484 parts { 484 parts {
485 spacer { "base"; 485 rect { "base";
486 desc { "default"; 486 desc { "default";
487 rel1.offset: 0 0; 487 color: 0 0 0 0;
488 rel2.offset: 0 0;
489 }
490 desc { "clicked";
491 inherit: "default";
492 } 488 }
493 } 489 }
494 rect { "icon_clip"; 490 rect { "icon_clip";
@@ -688,7 +684,6 @@ group { name: "elm/button/base/anchor";
688 } 684 }
689 program { name: "button_click_anim"; 685 program { name: "button_click_anim";
690 action: STATE_SET "clicked" 0.0; 686 action: STATE_SET "clicked" 0.0;
691 target: "base";
692 target: "bar2"; 687 target: "bar2";
693 target: "text2"; 688 target: "text2";
694 } 689 }
@@ -699,14 +694,12 @@ group { name: "elm/button/base/anchor";
699 } 694 }
700 program { name: "button_unclick_anim"; 695 program { name: "button_unclick_anim";
701 action: STATE_SET "default" 0.0; 696 action: STATE_SET "default" 0.0;
702 target: "base";
703 target: "bar2"; 697 target: "bar2";
704 target: "text2"; 698 target: "text2";
705 } 699 }
706 program { 700 program {
707 signal: "elm,anim,activate"; source: "elm"; 701 signal: "elm,anim,activate"; source: "elm";
708 action: STATE_SET "clicked" 0.0; 702 action: STATE_SET "clicked" 0.0;
709 target: "base";
710 target: "bar2"; 703 target: "bar2";
711 target: "text2"; 704 target: "text2";
712 after: "button_unpressed_anim"; 705 after: "button_unpressed_anim";
@@ -714,7 +707,6 @@ group { name: "elm/button/base/anchor";
714 program { name: "button_unpressed_anim"; 707 program { name: "button_unpressed_anim";
715 action: STATE_SET "default" 0.0; 708 action: STATE_SET "default" 0.0;
716 in: 0.5 0.0; 709 in: 0.5 0.0;
717 target: "base";
718 target: "bar2"; 710 target: "bar2";
719 target: "text2"; 711 target: "text2";
720 } 712 }