プロジェクト

全般

プロフィール

バグ #1137 » window.rb.diff

Izumi Tsutsui, 2018-01-02 13:10

差分を表示:

core/plugin/openimg/window.rb 2018-01-02 13:03:39.000000000 +0900
20 20
        if pixbufloader.is_a? GdkPixbuf::PixbufLoader
21 21
          rect = nil
22 22
          pixbufloader.ssc(:area_updated, self) do |_, x, y, width, height|
23
            rect_ = rect
23 24
            if rect
24
              rect[:left] = [rect[:left], x].min
25
              rect[:top] = [rect[:top], y].min
26
              rect[:right] = [rect[:right], x+width].max
27
              rect[:bottom] = [rect[:bottom], y+height].max
25
              rect_[:left] = [rect_[:left], x].min
26
              rect_[:top] = [rect_[:top], y].min
27
              rect_[:right] = [rect_[:right], x+width].max
28
              rect_[:bottom] = [rect_[:bottom], y+height].max
29
              rect_ = nil
28 30
            else
29 31
              rect = {left: x, top: y, right: x+width, bottom: y+height}
30 32
              Delayer.new do
(3-3/3)