Forums
View unanswered posts | View active topics It is currently Mon Sep 01, 2014 7:47 am



Reply to topic  [ 2 posts ] 
 Wrong scrolled positioning inside client rect with scrollbar 
Author Message

Joined: Tue Dec 07, 2010 2:50 am
Posts: 1
Post Wrong scrolled positioning inside client rect with scrollbar
Hi!
Just found some bug. There is wrong on-scrolling position calculation when PIE element is placed into element having own scroll bars. You need to count parent scroll properties.
For beta3 fix is (in PIE_uncompressed.htc):
Code:
            x = elBounds.x + ( par.scrollLeft || 0 ) - parRect.left - ( parseFloat(cs.borderLeftWidth) || 0 );
            y = elBounds.y + ( par.scrollTop || 0 ) - parRect.top - ( parseFloat(cs.borderTopWidth) || 0 );

on line 2062.
For beta2 it's on line 1808.
Thanks.


Tue Dec 07, 2010 3:35 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: Wrong scrolled positioning inside client rect with scrol
Thanks a lot for the bug report. I've entered it as a ticket at https://github.com/lojjic/PIE/issues/issue/88


Tue Dec 07, 2010 9:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.