Project

General

Profile

Bug #248

bar x,y,w,h causes internal error

Added by Paul Kitching about 4 years ago. Updated about 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

#1

Updated by David Baldwin about 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});
#2

Updated by Francois Lionet about 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! :)

#3

Updated by Baptiste Pillot about 4 years ago

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

Also available in: Atom PDF