|
|
@ -32,6 +32,7 @@ import { CourtAction } from "./editor/CourtAction"
|
|
|
|
import { BasketCourt } from "../components/editor/BasketCourt"
|
|
|
|
import { BasketCourt } from "../components/editor/BasketCourt"
|
|
|
|
import { ratioWithinBase } from "../components/arrows/Pos"
|
|
|
|
import { ratioWithinBase } from "../components/arrows/Pos"
|
|
|
|
import { Action, ActionKind } from "../model/tactic/Action"
|
|
|
|
import { Action, ActionKind } from "../model/tactic/Action"
|
|
|
|
|
|
|
|
import {BASE} from "../Constants";
|
|
|
|
|
|
|
|
|
|
|
|
const ERROR_STYLE: CSSProperties = {
|
|
|
|
const ERROR_STYLE: CSSProperties = {
|
|
|
|
borderColor: "red",
|
|
|
|
borderColor: "red",
|
|
|
@ -394,8 +395,11 @@ function EditorView({
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div id="main-div">
|
|
|
|
<div id="main-div">
|
|
|
|
<div id="topbar-div">
|
|
|
|
<div id="topbar-div">
|
|
|
|
|
|
|
|
<button onClick={() => (location.pathname = BASE + "/")}>
|
|
|
|
|
|
|
|
Home
|
|
|
|
|
|
|
|
</button>
|
|
|
|
<div id="topbar-left">
|
|
|
|
<div id="topbar-left">
|
|
|
|
<SavingState state={saveState} />
|
|
|
|
<SavingState state={saveState}/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="title-input-div">
|
|
|
|
<div id="title-input-div">
|
|
|
|
<TitleInput
|
|
|
|
<TitleInput
|
|
|
|