Changeset 17796 for trunk


Ignore:
Timestamp:
05/07/14 16:32:09 (11 years ago)
Author:
tbretz
Message:
Make sure image is on top during movement; remove zindex again afterwards
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.js

    r17788 r17796  
    906906        .css('left', oldOffset.left)
    907907        .css('top',  oldOffset.top)
    908         .css('zIndex', 400);
     908        .css('zIndex', 999);
    909909
    910910    temp.animate( {'top': newOffset.top, 'left':newOffset.left, 'width':w, 'height': h},
     
    913913        temp = temp.appendTo(newParent);
    914914        temp.css('position', 'relative');
    915         temp.css('width', 'default');
    916         temp.css('height', 'default');
     915        temp.css('width', '');
     916        temp.css('height', '');
     917        temp.css('zIndex', '');
    917918        temp.css('left', '0');
    918919        temp.css('top', '0');
     
    12651266function drawHex(ctx, x, y, col, min, max)
    12661267{
    1267     if (col===undefined || col===null)
     1268    if (col===undefined || col===null || max<min)
    12681269        return;
    12691270
Note: See TracChangeset for help on using the changeset viewer.