View Single Post
03-28-15, 12:44 PM   #9
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
Originally Posted by Seerah View Post
Is your OnShow script even firing? A frame is shown as soon as it's created (meaning, your frame is already shown when you set the OnShow handler).
Sorry yes it definitely is firing. I have it anchored to a frame "f" which I control by showing and hiding it.

Originally Posted by semlar
The way the model is displayed is affected by your screen resolution for god knows why, but if you're creating it as soon as the addon is loaded it will have a different scale than if you create it after the ui scale is applied, which happens later in the loading process..
Thank you!!
Yeah I am creating it instantly which I think is the problem. I've added that block of code into an event which happens after the game has been loaded and it works now.. really strange but makes sense

Thanks everyone!
  Reply With Quote