mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-27 16:03:52 +00:00
better animation for modals.
This commit is contained in:
@@ -1785,7 +1785,6 @@ div.typeahead a:first-child {
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
top: 30px;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,11 @@ iD.ui.modal = function(selection, blocking) {
|
||||
|
||||
if (animate) {
|
||||
shaded.transition().style('opacity', 1);
|
||||
modal
|
||||
.style('top','0px')
|
||||
.transition()
|
||||
.duration(200)
|
||||
.style('top','40px')
|
||||
} else {
|
||||
shaded.style('opacity', 1);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
iD.ui.Splash = function(context) {
|
||||
return function(selection) {
|
||||
// if (context.storage('sawSplash'))
|
||||
// return;
|
||||
if (context.storage('sawSplash'))
|
||||
return;
|
||||
|
||||
context.storage('sawSplash', true);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ iD.ui.TagEditor = function(context, entity) {
|
||||
.call(presetUI);
|
||||
|
||||
editorwrap.append('div')
|
||||
.attr('class', 'inspector-inner col12 fillL2 additional-tags')
|
||||
.attr('class', 'inspector-inner col12 additional-tags')
|
||||
.call(tagList, preset.id === 'other');
|
||||
|
||||
if (!entity.isNew()) {
|
||||
|
||||
Reference in New Issue
Block a user