mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
Flash style adjustments
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ export function uiFlash() {
|
||||
|
||||
content = content.enter()
|
||||
.append('div')
|
||||
.attr('class', 'content')
|
||||
.attr('class', 'content fillD')
|
||||
.merge(content);
|
||||
|
||||
if (timeout) {
|
||||
@@ -22,7 +22,7 @@ export function uiFlash() {
|
||||
.transition()
|
||||
.duration(250)
|
||||
.style('opacity', 0)
|
||||
.style('transform', 'scaleY(.25)')
|
||||
.style('transform', 'scaleY(.1)')
|
||||
.on('end', function() {
|
||||
content.remove();
|
||||
timeout = null;
|
||||
|
||||
+1
-2
@@ -73,8 +73,7 @@ export function uiInit(context) {
|
||||
|
||||
content
|
||||
.append('div')
|
||||
.attr('id', 'flash')
|
||||
.attr('class', 'fillD');
|
||||
.attr('id', 'flash');
|
||||
|
||||
content
|
||||
.append('div')
|
||||
|
||||
Reference in New Issue
Block a user