1 | static void dm_setModuleWidth(O module, int w) { |
2 | Rect r = dm_getBounds(module); |
3 | if (r == null) r = dm_defaultBoundsFor(module); |
4 | r.w = w; |
5 | dm_setBounds(module, w); |
6 | } |
Began life as a copy of #1016706
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021077 |
Snippet name: | dm_setModuleWidth |
Eternal ID of this version: | #1021077/5 |
Text MD5: | 9a583baa7209a2c90bf06c2ca57158f1 |
Author: | stefan |
Category: | javax / dynamic modules |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-22 17:34:23 |
Source code size: | 176 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 289 / 324 |
Version history: | 4 change(s) |
Referenced in: | [show references] |