alanaberdeen / AIDA

Annotation of Image Data by Assignment.
https://alanaberdeen.github.io/AIDA
MIT License
56 stars 15 forks source link

Rectangles plotted without colours #26

Open rcasero opened 4 years ago

rcasero commented 4 years ago

Commit ab5148d.

I have some "rectangle" annotations in my files. So far, AIDA plotted them as intended, as rectangles with a black border and traslucent black filling. However, in this latest commit I've checked, borders appear white, and rectanngles have no filling. Example of annotation in .json file, and example of how AIDA is drawing rectanbles now (they don't necessarily correspond to each other). Note that I have placed the cursor within the rectangle so that AIDA selects it showing the border in blue, because the white border can barely be seen.

"layers":[{"name":"Blocks 0","opacity":1.0,"items":[{"type":"rectangle","class":"","color":{"fill":{"hue":0.0,"saturation":0.0,"lightness":0.0,"alpha":0.5},"stroke":{"hue":0.0,"saturation":0.0,"lightness":1.0,"alpha":1}},"x":9447,"y":5567,"width":2746,"height":2746,"locked":false},

image

alanaberdeen commented 4 years ago

Hi @rcasero,

I will investigate this and get back to you