kopia lustrzana https://github.com/backface/turtlestitch
fixed flat-mode label shades
rodzic
feefac6926
commit
c0af58e67d
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
/*global Array, BoxMorph,
|
/*global Array, BoxMorph,
|
||||||
Color, ColorPaletteMorph, FrameMorph, Function, HandleMorph, Math, MenuMorph,
|
Color, ColorPaletteMorph, FrameMorph, Function, HandleMorph, Math, MenuMorph,
|
||||||
Morph, MorphicPreferences, Object, Point, ScrollFrameMorph, ShadowMorph,
|
Morph, MorphicPreferences, Object, Point, ScrollFrameMorph, ShadowMorph, ZERO,
|
||||||
String, StringMorph, TextMorph, contains, degrees, detect, PianoMenuMorph,
|
String, StringMorph, TextMorph, contains, degrees, detect, PianoMenuMorph,
|
||||||
document, getDocumentPositionOf, isNaN, isString, newCanvas, nop, parseFloat,
|
document, getDocumentPositionOf, isNaN, isString, newCanvas, nop, parseFloat,
|
||||||
radians, useBlurredShadows, SpeechBubbleMorph, modules, StageMorph, Sound,
|
radians, useBlurredShadows, SpeechBubbleMorph, modules, StageMorph, Sound,
|
||||||
|
@ -4211,7 +4211,7 @@ BlockMorph.prototype.forceNormalColoring = function () {
|
||||||
this.setLabelColor(
|
this.setLabelColor(
|
||||||
new Color(255, 255, 255),
|
new Color(255, 255, 255),
|
||||||
clr.darker(this.labelContrast),
|
clr.darker(this.labelContrast),
|
||||||
new Point(-1, -1)
|
MorphicPreferences.isFlat ? ZERO : this.embossing
|
||||||
);
|
);
|
||||||
this.fixChildrensBlockColor(true);
|
this.fixChildrensBlockColor(true);
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue