X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=_UIImplementation.pde;h=ac8d6aa6276043be7d49224d0c8a7cfd965ac85c;hp=c749ad4b891e72f12ed00c87e992ba96f2d4c827;hb=b9b7b3d47ba1edbb5595d749cf0d0a77a3ff7c5b;hpb=e18b4cb735a6e1f2d6cb2e7b1709d4a575cfe795 diff --git a/_UIImplementation.pde b/_UIImplementation.pde index c749ad4..ac8d6aa 100644 --- a/_UIImplementation.pde +++ b/_UIImplementation.pde @@ -282,7 +282,7 @@ class UIMapping extends UIWindow { protected void onValueChange(int value) { mappingTool.setCube(value-1); } - }).setRange(1, glucose.model.cubes.size()).addToContainer(this); + }).setRange(1, model.cubes.size()).addToContainer(this); yp += 24; yp += 10;