Ticket #5280: 0001-Subpixel-rendering.2.patch

File 0001-Subpixel-rendering.2.patch, 946 bytes (added by AzaToth, 10 years ago)

updated to use

  • ui/jquery.ui.position.js

    From 06c1fa920bc8ce0138a9a4490b46256af70d6b70 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Carl=20F=C3=BCrstenberg?= <carl@excito.com>
    Date: Fri, 26 Mar 2010 21:06:51 +0100
    Subject: [PATCH] Subpixel rendering
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    As we can't really render an object on a subpixel, we can avoid the
    issue of bug #5280 by rounding the resulting values down (towards zero).
    
    Signed-off-by: Carl Fürstenberg <carl@excito.com>
    ---
     ui/jquery.ui.position.js |    3 +++
     1 files changed, 3 insertions(+), 0 deletions(-)
    
    diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js
    index f01640e..20eab06 100644
    a b $.fn.position = function( options ) { 
    127127                        }
    128128                });
    129129
     130                position.top = ~~position.top;
     131                position.left = ~~position.left;
     132
    130133                if ( $.fn.bgiframe ) {
    131134                        elem.bgiframe();
    132135                }