Ignore:
Timestamp:
Dec 10, 2008, 12:48:52 PM (16 years ago)
Author:
gah
Message:

removed debugging from pymolproxy, field object (dumping dx file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/editor.tcl

    r440 r1258  
    285285    if {$h+$_loc(y) >= [winfo screenheight $e]} {
    286286        set h [expr {[winfo screenheight $e]-$_loc(y)}]
    287     }
    288 
    289     wm geometry $itk_component(hull) "${w}x${h}+$_loc(x)+$_loc(y)"
     287    }                                   
     288    # Temporary fix to prevent Opps. Don't deal with negative dimensions.
     289    if { $w <= 0 || $h <= 0 } {
     290        wm geometry $itk_component(hull) "+$_loc(x)+$_loc(y)"
     291    } else {
     292        wm geometry $itk_component(hull) "${w}x${h}+$_loc(x)+$_loc(y)"
     293    }
    290294}
    291295
Note: See TracChangeset for help on using the changeset viewer.