Mercurial > hg > forks > multipaint-js
comparison mpui.js @ 190:f79958358f16
Oops, forgot to s/mpDimensions/mpUIDimensions/g in few places.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 23 Aug 2018 16:38:52 +0300 |
parents | 283b2b657574 |
children | 4017a8f24f7f |
comparison
equal
deleted
inserted
replaced
189:283b2b657574 | 190:f79958358f16 |
---|---|
201 mpMachine = stGetSelValue(stGE("machineID"), 0); | 201 mpMachine = stGetSelValue(stGE("machineID"), 0); |
202 | 202 |
203 var index = stGetSelValue(stGE("dimensionsID"), -1); | 203 var index = stGetSelValue(stGE("dimensionsID"), -1); |
204 if (index > 0) | 204 if (index > 0) |
205 { | 205 { |
206 mpUIForcedWidth = mpDimensions[index][0]; | 206 mpUIForcedWidth = mpUIDimensions[index][0]; |
207 mpUIForcedHeight = mpDimensions[index][1]; | 207 mpUIForcedHeight = mpUIDimensions[index][1]; |
208 } | 208 } |
209 else | 209 else |
210 mpUIForcedWidth = mpUIForcedHeight = 0; | 210 mpUIForcedWidth = mpUIForcedHeight = 0; |
211 | 211 |
212 mpUIScale = stGetSelValue(stGE("scalesID"), -1); | 212 mpUIScale = stGetSelValue(stGE("scalesID"), -1); |