mirror of
https://github.com/janispritzkau/obsidian-model-viewer.git
synced 2026-07-22 05:44:57 +00:00
fix: use sentence case
This commit is contained in:
parent
36f9f08865
commit
059fffaf08
2 changed files with 7 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ export class ModelViewerOverlay extends Component {
|
|||
const dropdown = new DropdownComponent(this.containerEl);
|
||||
dropdown.selectEl.addClass("model-viewer-variant-dropdown");
|
||||
|
||||
dropdown.addOption("", "Default Variant");
|
||||
dropdown.addOption("", "Default variant");
|
||||
|
||||
for (const variant of this.viewer.availableVariants) {
|
||||
dropdown.addOption(variant, `Variant: ${variant}`);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export class ModelViewerSettingTab extends PluginSettingTab {
|
|||
|
||||
containerEl.empty();
|
||||
|
||||
new Setting(containerEl).setHeading().setName("Model Viewer");
|
||||
new Setting(containerEl).setHeading().setName("Model viewer");
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Attributes")
|
||||
|
|
@ -37,10 +37,10 @@ export class ModelViewerSettingTab extends PluginSettingTab {
|
|||
});
|
||||
});
|
||||
|
||||
new Setting(containerEl).setHeading().setName("File View");
|
||||
new Setting(containerEl).setHeading().setName("File fiew");
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Enable Overlay")
|
||||
.setName("Enable overlay")
|
||||
.setDesc("Show overlay if the model has mulitple variants or animations")
|
||||
.addToggle((toggle) => {
|
||||
toggle.setValue(this.plugin.settings.fileView.enableOverlay);
|
||||
|
|
@ -72,7 +72,7 @@ export class ModelViewerSettingTab extends PluginSettingTab {
|
|||
new Setting(containerEl).setHeading().setName("Embed");
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Aspect Ratio")
|
||||
.setName("Aspect ratio")
|
||||
.setDesc("The aspect ratio of the model viewer embed")
|
||||
.addText((text) => {
|
||||
text.setValue(this.plugin.settings.embed.aspectRatio);
|
||||
|
|
@ -83,7 +83,7 @@ export class ModelViewerSettingTab extends PluginSettingTab {
|
|||
});
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Max Height")
|
||||
.setName("Max height")
|
||||
.setDesc("Scales the embed according to the aspect ratio until it reaches this height")
|
||||
.addText((text) => {
|
||||
text.setValue(this.plugin.settings.embed.maxHeight.toString());
|
||||
|
|
@ -94,7 +94,7 @@ export class ModelViewerSettingTab extends PluginSettingTab {
|
|||
});
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Enable Overlay")
|
||||
.setName("Enable overlay")
|
||||
.setDesc("Show overlay if the model has mulitple variants or animations")
|
||||
.addToggle((toggle) => {
|
||||
toggle.setValue(this.plugin.settings.embed.enableOverlay);
|
||||
|
|
|
|||
Loading…
Reference in a new issue