Skip to content

Only preserve the viewport if the preserved viewport 'makes sense'

Codecov / codecov/patch failed Feb 28, 2025 in 1s

73.17% of diff hit (target 94.80%)

View this Pull Request on Codecov

73.17% of diff hit (target 94.80%)

Annotations

Check warning on line 41 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L41

Added line #L41 was not covered by tests

Check warning on line 127 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L125-L127

Added lines #L125 - L127 were not covered by tests

Check warning on line 130 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 133 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L132-L133

Added lines #L132 - L133 were not covered by tests

Check warning on line 135 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L135

Added line #L135 was not covered by tests

Check warning on line 138 in src/components/OpenSeadragonComponent.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/OpenSeadragonComponent.js#L137-L138

Added lines #L137 - L138 were not covered by tests