Fix ProgressBar Wrong Value with Border
Fix ProgressBar Wrong Value with Border

Closes: #30969

The FG rectangle of the progressbar is incorrect when dealing with a non-zero border. This issue stems from wrong order of operations when drawing the rectangle: int p = r * get_size().width - mp;


akien-mga/godot,ZuBsPaCe/godot,godotengine/godot,vkbsb/godot,Faless/godot,ex/godot,pkowal1982/godot,sanikoyes/godot,vkbsb/godot,Zylann/godot,firefly2442/godot,akien-mga/godot,MarianoGnu/godot,josempans/godot,firefly2442/godot,pkowal1982/godot,guilhermefelipecgs/godot,sanikoyes/godot,pkowal1982/godot,Zylann/godot,MarianoGnu/godot,Zylann/godot,vnen/godot,vkbsb/godot,Valentactive/godot,Paulloz/godot,MarianoGnu/godot,sanikoyes/godot,guilhermefelipecgs/godot,pkowal1982/godot,guilhermefelipecgs/godot,honix/godot,BastiaanOlij/godot,ex/godot,akien-mga/godot,firefly2442/godot,Zylann/godot,josempans/godot,Valentactive/godot,pkowal1982/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,Paulloz/godot,guilhermefelipecgs/godot,ex/godot,vnen/godot,pkowal1982/godot,BastiaanOlij/godot,pkowal1982/godot,josempans/godot,Faless/godot,godotengine/godot,honix/godot,Faless/godot,ex/godot,vkbsb/godot,sanikoyes/godot,akien-mga/godot,firefly2442/godot,ex/godot,ex/godot,Faless/godot,ZuBsPaCe/godot,vnen/godot,Shockblast/godot,vnen/godot,sanikoyes/godot,MarianoGnu/godot,godotengine/godot,ZuBsPaCe/godot,Valentactive/godot,Faless/godot,ZuBsPaCe/godot,josempans/godot,vnen/godot,guilhermefelipecgs/godot,godotengine/godot,ZuBsPaCe/godot,josempans/godot,pkowal1982/godot,BastiaanOlij/godot,vnen/godot,Shockblast/godot,Shockblast/godot,DmitriySalnikov/godot,vkbsb/godot,Faless/godot,akien-mga/godot,BastiaanOlij/godot,Faless/godot,ex/godot,Shockblast/godot,Valentactive/godot,Paulloz/godot,Shockblast/godot,josempans/godot,Valentactive/godot,akien-mga/godot,godotengine/godot,MarianoGnu/godot,vnen/godot,honix/godot,Zylann/godot,Zylann/godot,DmitriySalnikov/godot,MarianoGnu/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,sanikoyes/godot,Valentactive/godot,firefly2442/godot,ex/godot,BastiaanOlij/godot,BastiaanOlij/godot,Paulloz/godot,godotengine/godot,firefly2442/godot,DmitriySalnikov/godot,honix/godot,godotengine/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,Paulloz/godot,honix/godot,vkbsb/godot,firefly2442/godot,vnen/godot,josempans/godot,josempans/godot,akien-mga/godot,sanikoyes/godot,DmitriySalnikov/godot,Paulloz/godot,sanikoyes/godot,honix/godot,MarianoGnu/godot,Zylann/godot,Faless/godot,DmitriySalnikov/godot,akien-mga/godot,Shockblast/godot,BastiaanOlij/godot,MarianoGnu/godot,Valentactive/godot,Paulloz/godot,Zylann/godot,Valentactive/godot,BastiaanOlij/godot,Shockblast/godot,vkbsb/godot,Shockblast/godot,firefly2442/godot,godotengine/godot,vkbsb/godot