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

Method onWindowResize

src/app/ui/preview_editor.cpp:273–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void PreviewEditorWindow::onWindowResize()
274{
275 Window::onWindowResize();
276
277 DocumentView* view = UIContext::instance()->activeView();
278 if (view)
279 updateUsingEditor(view->editor());
280}
281
282bool PreviewEditorWindow::hasDocument() const
283{

Callers

nothing calls this directly

Calls 3

instanceFunction · 0.85
activeViewMethod · 0.45
editorMethod · 0.45

Tested by

no test coverage detected