MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / onStateChanged

Method onStateChanged

src/app/ui/preview_editor.cpp:408–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void PreviewEditorWindow::onStateChanged(Editor* editor)
409{
410 // Sync editor playing state with MiniPlayButton state
411 if (m_playButton->isPlaying() != editor->isPlaying())
412 m_playButton->setPlaying(editor->isPlaying());
413}
414
415void PreviewEditorWindow::onScrollChanged(Editor* miniEditor)
416{

Callers

nothing calls this directly

Calls 2

setPlayingMethod · 0.80
isPlayingMethod · 0.45

Tested by

no test coverage detected