kopia lustrzana https://github.com/backface/turtlestitch
more tweaks to Boolean "tick" and "cross" icons
rodzic
5e82a384a7
commit
31e39e3848
|
@ -8184,7 +8184,7 @@ BooleanSlotMorph.prototype.drawLabel = function (context) {
|
|||
|
||||
switch (this.value) {
|
||||
case true:
|
||||
x = r + (this.edge * 2);
|
||||
x = r + (this.edge * 2) + shift;
|
||||
if (!MorphicPreferences.isFlat) {
|
||||
context.shadowOffsetX = -shift;
|
||||
context.shadowOffsetY = -shift;
|
||||
|
@ -8203,7 +8203,7 @@ BooleanSlotMorph.prototype.drawLabel = function (context) {
|
|||
context.stroke();
|
||||
break;
|
||||
case false:
|
||||
x = w - y - this.edge - shift;
|
||||
x = w - y - (this.edge * 2);
|
||||
if (!MorphicPreferences.isFlat) {
|
||||
context.shadowOffsetX = -shift;
|
||||
context.shadowOffsetY = -shift;
|
||||
|
|
Ładowanie…
Reference in New Issue