Project

General

Profile

Actions

Bug #248

closed

bar x,y,w,h causes internal error

Added by Paul Kitching over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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

Actions #1

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});
Actions #2

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! :)

Actions #3

Updated by Baptiste Pillot over 4 years ago

  • Description updated (diff)
  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF