mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
sidebar toogle
This commit is contained in:
@@ -13,6 +13,7 @@ export function uiToolSidebarToggle(context) {
|
||||
selection
|
||||
.append('button')
|
||||
.attr('class', 'bar-button')
|
||||
.attr('aria-label', t('sidebar.tooltip'))
|
||||
.on('click', function() {
|
||||
context.ui().sidebar.toggle();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user