Skip to content

Commit

Permalink
fix: show WhiteBoardTutorial by default to prevent flash
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed May 22, 2024
1 parent e98a3a6 commit 6375a6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ tc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$
<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>
{{$:/core/ui/CommandPaletteTemplate}}
<div class=<<containerClasses>>>
<$log focus={{$:/state/Whiteboard/PageLayout/focusedTiddler}} />
<% if [{$:/state/Whiteboard/PageLayout/focusedTiddler}match[]] %>
<main class="tw-whiteboard-layout-main-area">
<$whiteboard tiddler={{{[all[shadows+tiddlers]field:type[application/vnd.tldraw+json]sort[modified]first[]]}}} height="100vh" focused="yes" />
<$whiteboard tiddler="WhiteBoardTutorial" height="100vh" focused="yes" />
</main>
<% else %>
<!-- default value, when first opened, select widget's state tiddler is empty, but default value filter gives a value, we show that tiddler -->
Expand Down

0 comments on commit 6375a6e

Please sign in to comment.