mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
chore: remove change status bar position functionality
This commit is contained in:
parent
0304c0a8c0
commit
930504bab5
4 changed files with 0 additions and 19 deletions
|
|
@ -13,7 +13,6 @@ export const DEFAULT_SETTINGS: NoteStatusSettings = {
|
|||
unknown: 'var(--text-muted)'
|
||||
},
|
||||
showStatusBar: true,
|
||||
statusBarPosition: 'right',
|
||||
autoHideStatusBar: false,
|
||||
customStatuses: [
|
||||
{ name: 'active', icon: '▶️', description: 'Currently working on this note' },
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ export interface Status {
|
|||
export interface NoteStatusSettings {
|
||||
statusColors: Record<string, string>;
|
||||
showStatusBar: boolean;
|
||||
statusBarPosition: 'left' | 'right';
|
||||
autoHideStatusBar: boolean;
|
||||
customStatuses: Status[];
|
||||
showStatusIconsInExplorer: boolean;
|
||||
|
|
|
|||
|
|
@ -37,18 +37,6 @@ export class NoteStatusSettingTab extends PluginSettingTab {
|
|||
await this.plugin.saveSettings();
|
||||
}));
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName('Status bar position')
|
||||
.setDesc('Align the status bar text')
|
||||
.addDropdown(dropdown => dropdown
|
||||
.addOption('left', 'Left')
|
||||
.addOption('right', 'Right')
|
||||
.setValue(this.plugin.settings.statusBarPosition)
|
||||
.onChange(async (value: 'left' | 'right') => {
|
||||
this.plugin.settings.statusBarPosition = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName('Auto-hide status bar')
|
||||
.setDesc('Hide the status bar when status is unknown')
|
||||
|
|
|
|||
|
|
@ -50,11 +50,6 @@ export class StatusBar {
|
|||
return;
|
||||
}
|
||||
|
||||
// Add left class if needed
|
||||
if (this.settings.statusBarPosition === 'left') {
|
||||
this.statusBarEl.addClass('left');
|
||||
}
|
||||
|
||||
// Handle single vs. multiple status display
|
||||
if (this.currentStatuses.length === 1 || !this.settings.useMultipleStatuses) {
|
||||
// Display single status
|
||||
|
|
|
|||
Loading…
Reference in a new issue