mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-03-24 08:07:23 +01:00
feat: Introduce TextureAtlasLayer for efficient texture management and rendering
refactor: Streamline WebGL2LayerClass methods and remove unused code refactor: Consolidate relief icon rendering logic and remove benchmarks
This commit is contained in:
parent
dc6ff785ba
commit
70e3eea4d1
8 changed files with 251 additions and 312 deletions
|
|
@ -460,7 +460,7 @@ function handleZoom(isScaleChanged, isPositionChanged) {
|
|||
fitScaleBar(scaleBar, svgWidth, svgHeight);
|
||||
}
|
||||
|
||||
if (layerIsOn("toggleRelief")) rerenderReliefIcons();
|
||||
WebGLLayer.rerender(); // rerender WebGL layers on zoom
|
||||
|
||||
// zoom image converter overlay
|
||||
if (customization === 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue