Skip to content

Commit

Permalink
GLSP-1031: Fix wrong binding in bounds-module (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr authored Sep 7, 2023
1 parent 36bcf27 commit 256d64d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/features/bounds/bounds-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
HBoxLayouter,
HiddenBoundsUpdater,
LayoutRegistry,
Layouter,
RequestBoundsCommand,
SetBoundsCommand,
TYPES,
Expand All @@ -30,6 +29,7 @@ import {
import { FreeFormLayouter } from './freeform-layout';
import { GLSPHiddenBoundsUpdater } from './glsp-hidden-bounds-updater';
import { HBoxLayouterExt } from './hbox-layout';
import { LayouterExt } from './layouter';
import { VBoxLayouterExt } from './vbox-layout';

export const boundsModule = new FeatureModule((bind, _unbind, isBound, _rebind) => {
Expand All @@ -38,7 +38,7 @@ export const boundsModule = new FeatureModule((bind, _unbind, isBound, _rebind)
configureCommand(context, RequestBoundsCommand);
bind(HiddenBoundsUpdater).toSelf().inSingletonScope();
bindAsService(context, TYPES.HiddenVNodePostprocessor, GLSPHiddenBoundsUpdater);
bind(TYPES.Layouter).to(Layouter).inSingletonScope();
bind(TYPES.Layouter).to(LayouterExt).inSingletonScope();
bind(TYPES.LayoutRegistry).to(LayoutRegistry).inSingletonScope();

configureLayout(context, VBoxLayouter.KIND, VBoxLayouterExt);
Expand Down

0 comments on commit 256d64d

Please sign in to comment.