mirror of
https://github.com/daniel-fiuk/simple-map.git
synced 2026-07-22 17:20:29 +00:00
Removed Console Logs.
This commit is contained in:
parent
7bf89f887c
commit
0ee6b5bd69
2 changed files with 1 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "fantasy-map",
|
||||
"name": "Fantasy Map",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "1.12.0",
|
||||
"description": "Create and document your fantasy world with a map plugin for Obsidian. Upload your own PNG or SVG maps. Plant pins in important locations and linking them to your notes. A great way to keep track of your world building and storytelling.",
|
||||
"author": "Daniel Fiuk",
|
||||
|
|
|
|||
|
|
@ -261,12 +261,6 @@ class MapInteractionManager implements MapInteractionController {
|
|||
}
|
||||
|
||||
private reset(): void {
|
||||
// for debugging
|
||||
const initOffsets = {
|
||||
x: this.state.offsetX,
|
||||
y: this.state.offsetY,
|
||||
}
|
||||
|
||||
// set default zoom level
|
||||
this.state.zoom = this.parameters.defaultZoomLevel || 1;
|
||||
|
||||
|
|
@ -297,8 +291,6 @@ class MapInteractionManager implements MapInteractionController {
|
|||
this.state.offsetX = defaultLeft;
|
||||
this.state.offsetY = defaulyTop;
|
||||
|
||||
console.log(initOffsets, {x: this.state.offsetX, y: this.state.offsetY});
|
||||
|
||||
this.clampOffsets();
|
||||
this.applyTransform();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue