From dec600d6f57ffd2ac4983f2f13d79d8ed394ee4a Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 5 Apr 2021 15:54:32 -0400 Subject: cleanup from last. --- src/client/views/PropertiesView.tsx | 7 +++---- src/client/views/nodes/FilterBox.tsx | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 1bd5a8410..df4dd7788 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -937,7 +937,6 @@ export class PropertiesView extends React.Component { this.filterDoc._docFilters = temp; } - filterSubHeight = () => (this.filterDoc.currentFilter as Doc)[HeightSym](); @computed get filtersSubMenu() { return !(this.filterDoc?.currentFilter instanceof Doc) ? (null) :
{
{ !this.openFilters ? (null) : -
+
{ rootSelected={returnTrue} removeDocument={returnFalse} ScreenToLocalTransform={this.getTransform} - PanelWidth={this.docWidth} - PanelHeight={this.filterSubHeight} + PanelWidth={() => this.props.width} + PanelHeight={this.filterDoc.currentFilter[HeightSym]} renderDepth={0} scriptContext={this.filterDoc.currentFilter as Doc} focus={emptyFunction} diff --git a/src/client/views/nodes/FilterBox.tsx b/src/client/views/nodes/FilterBox.tsx index 65de0a296..501d02dc4 100644 --- a/src/client/views/nodes/FilterBox.tsx +++ b/src/client/views/nodes/FilterBox.tsx @@ -371,7 +371,6 @@ export class FilterBox extends ViewBoxBaseComponent this.currentFacets.indexOf(facet) === -1).map(facet => ({ value: facet, label: facet })); const options = this._allFacets.map(facet => ({ value: facet, label: facet })); - console.log(this.props.PanelHeight()); return this.props.dontRegisterView ? (null) :
-- cgit v1.2.3-70-g09d2