diff options
author | Tyler Schicke <tschicke@gmail.com> | 2020-01-11 14:10:59 -0800 |
---|---|---|
committer | Tyler Schicke <tschicke@gmail.com> | 2020-01-11 14:10:59 -0800 |
commit | f24fcf4df595542d47ec9b98e173979656db68bd (patch) | |
tree | daf32c16ac99add88460980a6f19925806eb51da /src/client/views/TemplateMenu.tsx | |
parent | a2f423fa31e649805e7dd087037a5fe262c44a4a (diff) | |
parent | 54a241ff71abc07a5dbdebce1b614f1024a767e6 (diff) |
Merge branch 'master' of github.com:browngraphicslab/Dash-Web into no_db
Diffstat (limited to 'src/client/views/TemplateMenu.tsx')
-rw-r--r-- | src/client/views/TemplateMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/TemplateMenu.tsx b/src/client/views/TemplateMenu.tsx index 10419ddb7..e56395ca1 100644 --- a/src/client/views/TemplateMenu.tsx +++ b/src/client/views/TemplateMenu.tsx @@ -146,7 +146,7 @@ export class TemplateMenu extends React.Component<TemplateMenuProps> { templateMenu.push(<OtherToggle key={"custom"} name={"Custom"} checked={StrCast(this.props.docs[0].Document.layoutKey, "layout") !== "layout"} toggle={this.toggleCustom} />); templateMenu.push(<OtherToggle key={"chrome"} name={"Chrome"} checked={layout.chromeStatus !== "disabled"} toggle={this.toggleChrome} />); return ( - <Flyout anchorPoint={anchorPoints.RIGHT_TOP} + <Flyout anchorPoint={anchorPoints.LEFT_TOP} content={<ul className="template-list" ref={this._dragRef} style={{ display: this._hidden ? "none" : "block" }}> {templateMenu} {<button onClick={this.clearTemplates}>Restore Defaults</button>} |