After stepping through each line of code until I encountered the crash, I realised there were some crazy numbers while attempting to calculate positioning (-169827 or something…). I realised I was was accidentally passing height a 0 value. It could be worth throwing an error when the size method is called 😊.
After stepping through each line of code until I encountered the crash, I realised there were some crazy numbers while attempting to calculate positioning (-169827 or something…). I realised I was was accidentally passing height a 0 value. It could be worth throwing an error when the size method is called 😊.