mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-28 00:13:40 +00:00
Fix background defaulting to 0% brightness (fixes #1923)
This commit is contained in:
@@ -6,7 +6,7 @@ iD.ui.Background = function(context) {
|
||||
['top', [0, -1]],
|
||||
['right', [-1, 0]],
|
||||
['bottom', [0, 1]]],
|
||||
opacityDefault = (context.storage('background-opacity') !== undefined) ?
|
||||
opacityDefault = (context.storage('background-opacity') !== null) ?
|
||||
(+context.storage('background-opacity')) : 0.5;
|
||||
|
||||
function background(selection) {
|
||||
|
||||
Reference in New Issue
Block a user