|
|
@@ -134,8 +134,8 @@ TParamWidget* createLightParam(math::Vec pos, engine::Module* module, int paramI |
|
|
|
|
|
|
|
template <class TParamWidget> |
|
|
|
TParamWidget* createLightParamCentered(math::Vec pos, engine::Module* module, int paramId, int firstLightId) { |
|
|
|
TParamWidget* o = createParamCentered<TParamWidget>(pos, module, paramId); |
|
|
|
o->setFirstLightId(firstLightId); |
|
|
|
TParamWidget* o = createLightParam<TParamWidget>(pos, module, paramId, firstLightId); |
|
|
|
o->box.pos = o->box.pos.minus(o->box.size.div(2)); |
|
|
|
return o; |
|
|
|
} |
|
|
|
|
|
|
|