Actions
Bug #766
closedBar command draws bars 1 pixel too small in both directions.
Start date:
05/29/2021
Due date:
% Done:
0%
Estimated time:
1:00 h
Affected version:
Description
In the following example, there should be no black lines to the right of or below the bars.
#displayWidth: 800
#displayHeight: 400
Screen Open 0,800,400,32,Lowres
Flash Off : Curs Off
Palette 0,$333333,$777777,$BBBBBB,$FFFFFF,$330000,$770000,$BB0000,$FF0000,$003300,$007700,$00BB00,$00FF00,$000033,$000077,$0000BB,$0000FF,$330033,$770077,$BB00BB,$FF00FF,$333300,$777700,$BBBB00,$FFFF00,$003333,$007777,$00BBBB,$00FFFF
Cls 0
xPos=0
iCol=1
Repeat
ink iCol
Bar xPos,0 To xPos+15,Screen Height-2
Add xPos,16
Inc iCol : If iCol > 28 Then iCol=1
Until xPos >= Screen Width
Files
Actions