FunctinDigith and focusTarget scrolling
This commit is contained in:
parent
8e4dcb5de7
commit
b0280b9d74
10 changed files with 378 additions and 91 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { spawnFunctionDraft } from "./scrowlStore";
|
||||
import { spawnNewFunctionDraftDigith } from "./scrowlStore";
|
||||
|
||||
type Props = {
|
||||
// TODO
|
||||
|
|
@ -6,20 +6,14 @@ type Props = {
|
|||
|
||||
export function Controls(props: Props) {
|
||||
return (
|
||||
<aside
|
||||
style={{
|
||||
position: "sticky",
|
||||
top: "2rem",
|
||||
height: "fit-content"
|
||||
}}
|
||||
>
|
||||
<aside>
|
||||
<article>
|
||||
<header>Controls</header>
|
||||
|
||||
<div style={{ display: "flex", gap: "0.5rem", "flex-wrap": "wrap" }}>
|
||||
<button
|
||||
class="outline secondary"
|
||||
onClick={spawnFunctionDraft}
|
||||
onClick={spawnNewFunctionDraftDigith}
|
||||
style={{ padding: "2px 8px", "font-size": "0.8rem", width: "auto" }}
|
||||
>
|
||||
+fn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue