mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Revert references to the v3 UI in the Keyboard Shortcuts menu
Remove unused preset favoriting functionality
This commit is contained in:
@@ -7,7 +7,6 @@ import { tooltip } from '../util/tooltip';
|
||||
import { actionChangeTags } from '../actions/change_tags';
|
||||
import { modeBrowse } from '../modes/browse';
|
||||
import { svgIcon } from '../svg/icon';
|
||||
import { uiPresetFavoriteButton } from './preset_favorite_button';
|
||||
import { uiPresetIcon } from './preset_icon';
|
||||
import { uiQuickLinks } from './quick_links';
|
||||
import { uiRawMemberEditor } from './raw_member_editor';
|
||||
@@ -30,7 +29,6 @@ export function uiEntityEditor(context) {
|
||||
var _entityID;
|
||||
var _activePreset;
|
||||
var _tagReference;
|
||||
var _presetFavorite;
|
||||
|
||||
var entityIssues = uiEntityIssues(context);
|
||||
var quickLinks = uiQuickLinks();
|
||||
@@ -134,11 +132,6 @@ export function uiEntityEditor(context) {
|
||||
body = body
|
||||
.merge(bodyEnter);
|
||||
|
||||
if (_presetFavorite) {
|
||||
body.selectAll('.preset-list-button-wrap')
|
||||
.call(_presetFavorite.button);
|
||||
}
|
||||
|
||||
// update header
|
||||
if (_tagReference) {
|
||||
body.selectAll('.preset-list-button-wrap')
|
||||
@@ -364,7 +357,6 @@ export function uiEntityEditor(context) {
|
||||
_tagReference = uiTagReference(_activePreset.reference(context.geometry(_entityID)), context)
|
||||
.showing(false);
|
||||
}
|
||||
_presetFavorite = uiPresetFavoriteButton(_activePreset, context.geometry(_entityID), context);
|
||||
return entityEditor;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user