diff options
author | bob <bcz@cs.brown.edu> | 2020-01-10 16:05:00 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-01-10 16:05:00 -0500 |
commit | 596d30bc3f755eaafd413ced7613ace6735458fa (patch) | |
tree | 44c8764cd135f7d8488fda5f5bfb01e5f60a96a9 /src/client/views/TemplateMenu.tsx | |
parent | a1760ecbb780dc17a7675bd60fb50aa1103fa961 (diff) |
better working version of pivot viewer
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>} |