Browse Source

Remove shadow from CKSS switches.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
f97612e0d1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      include/componentlibrary.hpp

+ 3
- 0
include/componentlibrary.hpp View File

@@ -792,6 +792,7 @@ struct NKK : app::SvgSwitch {

struct CKSS : app::SvgSwitch {
CKSS() {
shadow->opacity = 0.0;
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSS_0.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSS_1.svg")));
}
@@ -799,6 +800,7 @@ struct CKSS : app::SvgSwitch {

struct CKSSThree : app::SvgSwitch {
CKSSThree() {
shadow->opacity = 0.0;
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThree_0.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThree_1.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThree_2.svg")));
@@ -807,6 +809,7 @@ struct CKSSThree : app::SvgSwitch {

struct CKSSThreeHorizontal : app::SvgSwitch {
CKSSThreeHorizontal() {
shadow->opacity = 0.0;
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_0.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_1.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/CKSSThreeHorizontal_2.svg")));


Loading…
Cancel
Save