Author Topic: Draggable panel very glitchy - fixed!  (Read 1865 times)


  • Guest
Draggable panel very glitchy - fixed!
« on: July 27, 2012, 03:19:04 AM »
I am able to drag my panel just fine up and down. But I'm seeing 2 glitches so far.

1) After I release the mouse button after dragging, it appears that the SpringPanel script slides it to the left (X) by about 1.5. Only the first time I release from a drag, not after that.
2) As I drag, the clipped contents of the panel appear completely unclipped (I see every item). If I stop dragging with the mouse, but don't release the button, for about half a second, it re-clips the area. If I then continue to drag again, it becomes totally unclipped again. Additionally, it doesn't seem to be able to clip part of an item (I have 7 identical items in a grid). It can only clip an entire item or not. Each item is a UISprite.

Any idea what's causing any of this? I just want to make a simple high score table that scrolls, but I'm spent 4 hours already to no avail.

Thank you,
« Last Edit: August 01, 2012, 03:13:31 AM by jerotas »


  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Draggable panel very glitchy
« Reply #1 on: July 27, 2012, 06:17:24 AM »
1) It sounds like the items in your panel are offset by 1.5, which gets corrected when you drag and release.

2) This means your clipped shader isn't working. Possible causes may be GLES 1.1 emulation mode turned on, or you are using a custom shader on your UI instead of "Unlit/Transparent Colored".


  • Guest
Re: Draggable panel very glitchy
« Reply #2 on: August 01, 2012, 03:12:02 AM »
Thank you Aren, these are fixed! I still have some new problems with the Draggable panel. I'll post a different thread though.