Actions
Bug #248
closedbar x,y,w,h causes internal error
Start date:
02/22/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
#splashScreen:false
ink 4
draw 100,100,30,5
bar 100,200,300,5
The draw command works with this new format, but the bar command doesn't
Updated by David Baldwin over 4 years ago
Here's why, it's just a typo at line 387 of screens.aoz :-
Instruction "bar", _x1, _y1, _width, _height
{
#errors
this.aoz.currentScreen.bar({x:%_x1,y:%_y1,width:width,height:%_height});
}
End Instruction
Should read:-
this.aoz.currentScreen.bar({x:%_x1,y:%_y1,width:%_width,height:%_height});
Updated by Francois Lionet over 4 years ago
- Status changed from New to Resolved
- Target version set to 0.9.5
The bug AND the correction of the bug? Thank you Paul! :)
Updated by Baptiste Pillot over 4 years ago
- Description updated (diff)
- Status changed from Resolved to Closed
- source : https://www.amos2.fr/ide/Amos2/Ide/Program/492
- run : https://www.amos2.fr/run/tickleman/248
- result : both a drawed line and bar
Actions