Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-11-15, 05:04 PM   #1
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Backdrop and resizable/movable frames

I have a frame using this backdrop:
Lua Code:
  1. local Backdrop = {
  2.    bgFile      = db.PATH.."BackdropBG",
  3.    edgeFile    = db.PATH.."BackdropEdge",
  4.    edgeSize    = 8,
  5.    insets      = {left = 8, right = 8, top = 8, bottom = 8}
  6. }

The edge file is made up of 8x8 tiles and is correctly configured, however, when the frame can be moved and resized, the backdrop doesn't always draw correctly. Any idea why this is happening, and if so, a way to circumvent or even prevent it?

It looks like it moves one line from the top edge to the bottom edge, or occassionally it moves a line from the left edge to the right edge.

Correct:


Incorrect:
__________________

Last edited by MunkDev : 09-11-15 at 08:28 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Graphics Help » Backdrop and resizable/movable frames


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off