Skip to content

Commit

Permalink
Fix minor bugs (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ac-61 authored Mar 2, 2022
1 parent d082a84 commit eeccae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/essence/Basics/Layers_/Layers_.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,10 @@ var L_ = {
}

ToolController_.notifyActiveTool('setActiveFeature', L_.activeFeature)

if (!L_.activeFeature) {
L_.clearVectorLayerInfo()
}
},
highlight(layer) {
if (layer == null) return
Expand Down
2 changes: 1 addition & 1 deletion src/external/Dropy/dropy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
'<dd class="dropy__content">',
'<ul>',
placeholder ? `<li><a class="dropy__header" style="pointer-events: none;">${placeholder}</a></li>` : '',
items.map((item, i) => `<li><a${i === selectedIndex ? ' class="selected"' : ""} idx=${i} title="${item.includes('<') ? '' : item}">${item}</a></li>`).join('\n'),
items.map((item, i) => `<li><a${i === selectedIndex ? ' class="selected"' : ""} idx=${i} title="${typeof item === 'string' && item.includes('<') ? '' : item}">${item}</a></li>`).join('\n'),
'</ul>',
'</dd>',
'<input type="hidden" name="first">',
Expand Down

0 comments on commit eeccae0

Please sign in to comment.