View Single Post
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