mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-19 12:13:43 +00:00
Invert background opacity widget display values (closes #2595)
This commit is contained in:
@@ -215,7 +215,7 @@ iD.ui.Background = function(context) {
|
||||
.placement('left'))
|
||||
.append('div')
|
||||
.attr('class', 'opacity')
|
||||
.style('opacity', String);
|
||||
.style('opacity', function(d) { return 1.25 - d; });
|
||||
|
||||
var backgroundList = content.append('ul')
|
||||
.attr('class', 'layer-list');
|
||||
|
||||
Reference in New Issue
Block a user