mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
Fix: Ctrl+Shift+B also swaps between the background like Ctrl+B
(closes #4153)
This commit is contained in:
+4
-1
@@ -78,7 +78,10 @@ export function uiInfo(context) {
|
||||
|
||||
|
||||
function toggle(which) {
|
||||
if (d3.event) d3.event.preventDefault();
|
||||
if (d3.event) {
|
||||
d3.event.stopImmediatePropagation();
|
||||
d3.event.preventDefault();
|
||||
}
|
||||
|
||||
var activeids = ids.filter(function(k) { return active[k]; });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user