refreshPreviewForTest method

  1. @visibleForTesting
Future<void> refreshPreviewForTest()

Test hook: force a preview re-render. Production code reaches _renderPreview indirectly via tool apply; tests need to call it after directly mutating cropLayer / drawLayer.

Implementation

@visibleForTesting
Future<void> refreshPreviewForTest() => _renderPreview();