question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken Icons in toolbar - macOS/Chrome

See original GitHub issue

Hello, first - thanks for awesome work!

There is little bug i found.

How to reproduce

  • Leaflet version I’m using: 1.0.1
  • Leaflet Draw version I’m using: ^0.4.0 or master (be0ca82)
  • Browser (with version) I’m using: Chrome
  • OS/Platform (with version) I’m using: macOS El Capitan

The easiest way how to reproduce is clone current master and open example from docs

$ git clone https://github.com/Leaflet/Leaflet.draw.git
$ open Leaflet.draw/docs/examples/full.html

Then use zoom tool in browser - first icon in every bar has broken icons

What behaviour I’m expecting and which behaviour I’m seeing

leaflet_draw_vector_editing_handlers

Expecting behaviour is that icons are not broken.

Notes

Tried on multiple computers with macOS - The problem seems to be only in Chrome (FF and Safari are ok).

Find out the problem is in CSS (leaflet.draw.css:25) and only if browser uses images/spritesheet.svg . When i changed styles to use images/spritesheet.png - problem disappeared

I would love to send pull-request, but i’m missing experience working with SVG

Thanks!

edit: formating

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ddproxycommented, Nov 9, 2016

Thanks! I’ll include this in the patch later tonight.

0reactions
Twistacommented, Nov 10, 2016

Just tried and works perfectly. Awesome - Thank you for very quick fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 ways to get your toolbar back in Google Chrome if it's missing
Normally, Chrome will show a selection of your bookmarks below the address bar. Here's how to get them back if they've disappeared: 1....
Read more >
Chrome Icon Not Appearing On Your Mac? Here's The Fix
Chrome Icon Not Appearing On Your Mac? Here's The Fix · Manually Dragging The Chrome Icon · Installing Google Chrome Again · Delete...
Read more >
Chrome Toolbar Missing? 3 Ways to Fix - Help Desk Geek
If the missing Chrome toolbar is the one below the URL field that displays all of your bookmark icons, you can fix this...
Read more >
Dock Disappears in Google Chrome - Apple Community
To get out of it, move your cursor to the top, so the menu bar appears; then click the green button.
Read more >
Anyone know how to fix this google chrome icon issue? - Reddit
Cmd+Delete this will reset the icon to default.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found