summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-03-28 20:36:07 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-03-28 20:36:07 +0000
commit67719a64e686a24bea0d7734cce28f65471c4bd1 (patch)
tree135021254238a81f6c7a77eba12fd6be7bf5d24b /amiga
parente240c200d53efc0885023077f8ee1087951478aa (diff)
downloadnetsurf-67719a64e686a24bea0d7734cce28f65471c4bd1.tar.gz
netsurf-67719a64e686a24bea0d7734cce28f65471c4bd1.tar.bz2
Add a note about those lines I commented out earlier.. have remembered why they were
there. Leave them commented out pending a fix. svn path=/trunk/netsurf/; revision=6975
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 80912a861..c6f86c861 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2154,6 +2154,11 @@ void ami_do_redraw_limits(struct gui_window *g, struct content *c,int x0, int y0
/*
DebugPrintF("%ld %ld %ld %ld old\n%ld %ld %ld %ld x0-xc etc\n",x0,y0,x1,y1,x0-hcurrent,y0-vcurrent,width+x0,height+y0);
DebugPrintF("%ld %ld calc\n",(y1-y0)+(yoffset+y0-vcurrent),(y0-(int)vcurrent));
+*/
+
+/* These stop the screen scrolling oddly when animated GIFs are on the page.
+ * They also stop boxes (eg textarea fields) from updating when they are part-way
+ * off the screen.
if((((y1-y0)+(yoffset+y0-vcurrent))<0) || ((y0-(int)vcurrent)>height)) return;
if((((x1-x0)+(xoffset+x0-hcurrent))<0) || ((x0-(int)hcurrent)>width)) return;