renamed NewComponent > NewScreen

This commit is contained in:
Michael Shanks 2020-02-25 10:05:43 +00:00
parent 5ac25bce6a
commit e870576d67
1 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
import { store } from "../builderStore" import { store } from "../builderStore"
import IconButton from "../common/IconButton.svelte" import IconButton from "../common/IconButton.svelte"
import Modal from "../common/Modal.svelte" import Modal from "../common/Modal.svelte"
import NewComponent from "./NewComponent.svelte" import NewScreen from "./NewScreen.svelte"
import CurrentItemPreview from "./CurrentItemPreview.svelte" import CurrentItemPreview from "./CurrentItemPreview.svelte"
import SettingsView from "./SettingsView.svelte" import SettingsView from "./SettingsView.svelte"
import PageView from "./PageView.svelte" import PageView from "./PageView.svelte"
@ -15,12 +15,12 @@
import { last } from "lodash/fp" import { last } from "lodash/fp"
import { AddIcon } from "../common/Icons" import { AddIcon } from "../common/Icons"
let newComponentPicker let newScreenPicker
let confirmDeleteDialog let confirmDeleteDialog
let componentToDelete = "" let componentToDelete = ""
const newComponent = () => { const newScreen = () => {
newComponentPicker.show() newScreenPicker.show()
} }
let settingsView let settingsView
@ -59,7 +59,7 @@
Screens Screens
</span> </span>
<div> <div>
<button on:click={newComponent}> <button on:click={newScreen}>
<AddIcon /> <AddIcon />
</button> </button>
</div> </div>
@ -84,7 +84,7 @@
</div> </div>
<NewComponent bind:this={newComponentPicker} /> <NewScreen bind:this={newScreenPicker} />
<SettingsView bind:this={settingsView} /> <SettingsView bind:this={settingsView} />
<ConfirmDialog <ConfirmDialog