MCPcopy Create free account
hub / github.com/chieapp/chie / setSelected

Method setSelected

src/view/toggle-button.ts:21–26  ·  view source on GitHub ↗
(selected: boolean)

Source from the content-addressed store, hash-verified

19 }
20
21 setSelected(selected: boolean) {
22 if (this.selected == selected)
23 return;
24 this.selected = selected;
25 this.view.schedulePaint();
26 }
27
28 onDraw(view: gui.Container, painter: gui.Painter) {
29 const bounds = Object.assign(view.getBounds(), {x: 0, y: 0});

Callers 8

constructorMethod · 0.45
#onSelectMethod · 0.45
loadServiceMethod · 0.45
showPreviousChatMethod · 0.45
showNextChatMethod · 0.45
#onSelectItemMethod · 0.45
#onNewChatMethod · 0.45
#onRemoveChatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected