Skip to content

Commit

Permalink
🚸 Set OpenLayers transition to zero
Browse files Browse the repository at this point in the history
Why:
- On the printouts page, when changing print options and the cards are
  re-rendered, having a transition makes the UI seem slower than it is.
  When the map tiles are already cached, rendering should be
  near-instantaneous.
  • Loading branch information
luontola committed Jul 5, 2024
1 parent cbcf9ae commit a98434b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/maps/mapOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type MapRaster = {
name: string;
makeSource: () => TileSource;
};
const transition = 100;
const transition = 0;
export const mapRasters: MapRaster[] = [{
id: 'osmhd',
name: "World - OpenStreetMap",
Expand Down

0 comments on commit a98434b

Please sign in to comment.