area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
131 stars 115 forks source link

[BUG] loading bar not showing smoothly but all over the place #306

Closed kloknibor closed 7 years ago

kloknibor commented 7 years ago

Hi,

How is it possible that the loading bar when uploading a part is all over the place? (as in only left and right :P but it certainly is not at the right location!)

I might want to take a look into this myself but if it is a really small thing or any advice than you would be more than welcome!

Kind regards,

Robin

WesGilster commented 7 years ago

There is a strong probability that your custom front end has some css issues. Get into debug mode and move the loading bar around until it fits nicely where you want it. Then make a style out of your debugging steps. That's a complete hack, but it might give you some hints as to how things got a bit messed up.

HTML and CSS are extremely easy to use, but surprisingly difficult to master.

kloknibor commented 7 years ago

Sorry I think I described my issue wrong. I took a closer look just yet... It is this class but it doesn't make sense :

89%

(the bar was at 89%)

But the bar basically gets too wide or to small after coming to the right position... Samething with the normal frontend... (This was tested with a complete copy of your java script code for confirmation) but it seems less worse... Just not smoothly, I will take a look myself first :)!