mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-23 21:18:31 -05:00
remove JS layouting
This commit is contained in:
committed by
Jakob Pinterits
parent
6e4975cce0
commit
fe5c5abfa6
@@ -1,5 +1,4 @@
|
||||
import { ComponentId } from '../dataModels';
|
||||
import { LayoutContext } from '../layouting';
|
||||
import { ComponentBase, ComponentState } from './componentBase';
|
||||
import { ComponentTreeComponent } from './componentTree';
|
||||
import { LayoutDisplayComponent } from './layoutDisplay';
|
||||
@@ -40,19 +39,6 @@ export class DevToolsConnectorComponent extends ComponentBase {
|
||||
return element;
|
||||
}
|
||||
|
||||
updateElement(
|
||||
deltaState: DevToolsConnectorState,
|
||||
latentComponents: Set<ComponentBase>
|
||||
): void {}
|
||||
|
||||
updateNaturalWidth(ctx: LayoutContext): void {
|
||||
this.naturalWidth = 3;
|
||||
}
|
||||
|
||||
updateNaturalHeight(ctx: LayoutContext): void {
|
||||
this.naturalHeight = 7;
|
||||
}
|
||||
|
||||
/// Called when the state of any component changes. This allows the dev
|
||||
/// tools to update their display.
|
||||
public afterComponentStateChange(deltaStates: {
|
||||
|
||||
Reference in New Issue
Block a user