MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / HideLastDropLine

Method HideLastDropLine

lib/macro/macro-segment-list.cpp:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void MacroSegmentList::HideLastDropLine()
354{
355 if (_dropLineIdx >= 0 && _dropLineIdx < _contentLayout->count()) {
356 auto widget = WidgetAt(_dropLineIdx);
357 if (widget) {
358 widget->ShowDropLine(
359 MacroSegmentEdit::DropLineState::NONE);
360 }
361 }
362 _dropLineIdx = -1;
363}
364
365void MacroSegmentList::ClearWidgetCache()
366{

Callers

nothing calls this directly

Calls 2

countMethod · 0.80
ShowDropLineMethod · 0.80

Tested by

no test coverage detected