-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I want to make ball and stick as default, but when i click apply nothing happens. i tried even change this part of the code to just this.drawBondsAsStick(target, hetatm, this.cylinderRadius / 2.0, this.cylinderRadius, true, true, 0.3); but nothing happend
if ($(idHeader + 'showHetatms').attr('checked')) {
var hetatmMode = $(idHeader + 'hetatm').val();
if (hetatmMode == 'stick') {
this.drawBondsAsStick(target, hetatm, this.cylinderRadius, this.cylinderRadius, true);
} else if (hetatmMode == 'sphere') {
this.drawAtomsAsSphere(target, hetatm, this.sphereRadius);
} else if (hetatmMode == 'line') {
this.drawBondsAsLine(target, hetatm, this.curveWidth);
} else if (hetatmMode == 'icosahedron') {
this.drawAtomsAsIcosahedron(target, hetatm, this.sphereRadius);
} else if (hetatmMode == 'ballAndStick') {
this.drawBondsAsStick(target, hetatm, this.cylinderRadius / 2.0, this.cylinderRadius, true, false, 0.3);
} else if (hetatmMode == 'ballAndStick2') {
this.drawBondsAsStick(target, hetatm, this.cylinderRadius / 2.0, this.cylinderRadius, true, true, 0.3);
}
}
don't even the background changes to white when i click on apply button.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels