Inside your panel, replace the **on_paint** function with this:

function on_paint(gr) {

gr.FillSolidRect(volume.x, volume.y, volume.w, volume.h, volume.c1);

gr.FillSolidRect(volume.x, volume.y + volume.h - volume.pos(), volume.w, volume.pos(), volume.c2);

}

Then open **js_marc2003\js\volume.js** and replace the **this.move** function with this:

this.move = function (x, y) {

this.mx = x;

this.my = y;

if (this.trace(x, y)) {

y -= this.y;

var pos = y < 0 ? 1 : y > this.h ? 0 : 1 - (y / this.h);

this.drag_vol = 50 * Math.log(0.99 * pos + 0.01) / Math.LN10;

_.tt(this.drag_vol.toFixed(2) + " dB");

if (this.drag)

fb.Volume = this.drag_vol;

this.hover = true;

return true;

} else {

if (this.hover)

_.tt("");

this.hover = false;

this.drag = false;

return false;

}

}

and replace the **this.pos** function with this:

this.pos = function () {

return _.ceil(this.h * (Math.pow(10, fb.Volume / 50) - 0.01) / 0.99);

}

Make sure reload the panel after editing the .js file.