ondras / wwwsqldesigner

WWW SQL Designer, your online SQL diagramming tool
https://sql.toad.cz/?keyword=online_library
BSD 3-Clause "New" or "Revised" License
2.86k stars 722 forks source link

Panning on the map has no effect #310

Open bilogic opened 2 years ago

bilogic commented 2 years ago

There is a little map on the lower right corner of the editor, but the main window contents doesn't update when moving the small box. Is this by design? Thank you.

ondras commented 2 years ago

I cannot reproduce; the minimap seems to be correctly reflected in the main window. What URL are you trying, what browser, is anything relevant displayed in the Console?

bilogic commented 2 years ago

Thanks for getting back!

I might have been a little unclear in my OP. Let me try again:

  1. Chrome Version 100.0.4896.60 (Official Build) (64-bit)
  2. URL in question https://ondras.zarovi.cz/sql/demo/?keyword=default
  3. If I use scrollbars to move my main window around, the minimap reflects correctly
  4. If I drag the little box around in the minimap, the main window doesn't move and match up to the minimap
  5. There is 1 error in the console, but I doubt it is the issue: Failed to load resource for favicon.ico

Makes sense?

ondras commented 2 years ago

Yes, I can confirm that problem (in Chrome) now. It works okay in Firefox. Will have a look later.

bilogic commented 2 years ago

if it helps, https://github.com/Lt-Mayonesa/wwwsqldesigner works in Chrome

ondras commented 2 years ago

Should be fixed now.

bilogic commented 2 years ago

Thanks, https://ondras.zarovi.cz/sql/demo/?keyword=default works!

Should I file a PR to auto format all whitespaces in a standardized way? This will eliminate all the unnecessary whitespaces in future PRs. See #314