MCPcopy Create free account
hub / github.com/material-shell/material-shell / freezeAllocation

Method freezeAllocation

src/layout/msWorkspace/msWindow.ts:1286–1289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1284 }
1285
1286 freezeAllocation() {
1287 this.set_width(this.allocation.get_width());
1288 this.set_height(this.allocation.get_height());
1289 }
1290
1291 unFreezeAllocation() {
1292 this.set_width(-1);

Callers 1

startDragMethod · 0.80

Calls 4

set_widthMethod · 0.65
get_widthMethod · 0.65
set_heightMethod · 0.65
get_heightMethod · 0.65

Tested by

no test coverage detected