Browse Source

Remove shadow from NKK component.

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

+ 1
- 0
include/componentlibrary.hpp View File

@@ -811,6 +811,7 @@ struct MomentarySwitch : TSwitch {


struct NKK : app::SvgSwitch { struct NKK : app::SvgSwitch {
NKK() { NKK() {
shadow->opacity = 0.0;
addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_0.svg"))); addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_0.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_1.svg"))); addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_1.svg")));
addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_2.svg"))); addFrame(Svg::load(asset::system("res/ComponentLibrary/NKK_2.svg")));


Loading…
Cancel
Save