File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ const Self = class ChannelPicker extends ColorElement {
2525 connectedCallback ( ) {
2626 super . connectedCallback ?. ( ) ;
2727
28- this . _el . picker . addEventListener ( "input" , this , { capture : true } ) ;
28+ this . _el . picker . addEventListener ( "input" , this ) ;
2929 }
3030
3131 disconnectedCallback ( ) {
3232 super . disconnectedCallback ?. ( ) ;
3333
3434 this . _el . space_picker . removeEventListener ( "spacechange" , this ) ;
35- this . _el . picker . removeEventListener ( "input" , this , { capture : true } ) ;
35+ this . _el . picker . removeEventListener ( "input" , this ) ;
3636 }
3737
3838 get selectedSpace ( ) {
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ const Self = class ColorChart extends ColorElement {
4747 connectedCallback ( ) {
4848 super . connectedCallback ( ) ;
4949 this . _el . chart . addEventListener ( "colorschange" , this , { capture : true } ) ;
50- this . _slots . color_channel . addEventListener ( "input" , this , { capture : true } ) ;
50+ this . _slots . color_channel . addEventListener ( "input" , this ) ;
5151 }
5252
5353 disconnectedCallback ( ) {
5454 this . _el . chart . removeEventListener ( "colorschange" , this , { capture : true } ) ;
55- this . _slots . color_channel . removeEventListener ( "input" , this , { capture : true } ) ;
55+ this . _slots . color_channel . removeEventListener ( "input" , this ) ;
5656 }
5757
5858 handleEvent ( evt ) {
You can’t perform that action at this time.
0 commit comments