{"push_id":1397158691,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"9c5687e4f96f608580079a8f541518b45348d198","before":"c34ba3ea43594f2a2256d00bc26566d189dbd5c1","commits":[{"sha":"9c5687e4f96f608580079a8f541518b45348d198","author":{"name":"François B","email":"a57e74cb22fc06dcfe88be06abb012c32649f64b@bonzon.com"},"message":"2 improvements for mobile devices\n\n- Devices (e.g. mobile phone) without a mouse fire \"mouseover\" events on user tap, but never “mouseout\" events. When a context menu is re-opened, the last used item still appears as selected. This PR fixes this, by calling _onItemMouseOut() when an item is selected on devices without pointer support.\n\n- On small screens, when the context menu is wider than half the map viewport, and the menu is opened on a point in the right side of the viewport, currently:\n- When there is no fixed menu width defined, the menu is shrunk so it fits.\n- When menu has fixed width defined, a part is hidden on the left side of viewport.\nThis PR fixes this, by pushing the menu on the right so it just fits in the viewport.\n\n- Remove a useless _setPosition(pt) call. Is executed unconditionally 3 lines earlier.\n\n- Code cosmetic: Consistently use tabs for indentation.","distinct":true,"url":"https://api.github.com/repos/fbonzon/Leaflet.contextmenu/commits/9c5687e4f96f608580079a8f541518b45348d198"}]}
{"actor":{"display_login":"fbonzon"}}