mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
chore: remove dropdown position functionality
This commit is contained in:
parent
692ae1aa32
commit
0304c0a8c0
3 changed files with 0 additions and 15 deletions
|
|
@ -13,7 +13,6 @@ export const DEFAULT_SETTINGS: NoteStatusSettings = {
|
|||
unknown: 'var(--text-muted)'
|
||||
},
|
||||
showStatusBar: true,
|
||||
dropdownPosition: 'top',
|
||||
statusBarPosition: 'right',
|
||||
autoHideStatusBar: false,
|
||||
customStatuses: [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ export interface Status {
|
|||
export interface NoteStatusSettings {
|
||||
statusColors: Record<string, string>;
|
||||
showStatusBar: boolean;
|
||||
dropdownPosition: 'top' | 'bottom';
|
||||
statusBarPosition: 'left' | 'right';
|
||||
autoHideStatusBar: boolean;
|
||||
customStatuses: Status[];
|
||||
|
|
|
|||
|
|
@ -26,19 +26,6 @@ export class NoteStatusSettingTab extends PluginSettingTab {
|
|||
// UI section
|
||||
containerEl.createEl('h3', { text: 'UI Settings' });
|
||||
|
||||
// Status dropdown settings
|
||||
new Setting(containerEl)
|
||||
.setName('Dropdown position')
|
||||
.setDesc('Where to place the status dropdown')
|
||||
.addDropdown(dropdown => dropdown
|
||||
.addOption('top', 'Top')
|
||||
.addOption('bottom', 'Bottom')
|
||||
.setValue(this.plugin.settings.dropdownPosition)
|
||||
.onChange(async (value: 'top' | 'bottom') => {
|
||||
this.plugin.settings.dropdownPosition = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
|
||||
// Status bar settings
|
||||
new Setting(containerEl)
|
||||
.setName('Show status bar')
|
||||
|
|
|
|||
Loading…
Reference in a new issue