зеркало из https://github.com/mozilla/gecko-dev.git
Fixed not clearing font color ('defaul') bug 89700, r=akkana, sr=kin
This commit is contained in:
Родитель
449476cffa
Коммит
2a81718082
|
@ -950,7 +950,10 @@ function EditorSelectColor(colorType, mouseEvent)
|
|||
{
|
||||
if (currentColor != gColorObj.TextColor)
|
||||
{
|
||||
if (gColorObj.TextColor)
|
||||
window.editorShell.SetTextProperty("font", "color", gColorObj.TextColor);
|
||||
else
|
||||
window.editorShell.RemoveTextProperty("font", "color");
|
||||
}
|
||||
// Update the command state (this will trigger color button update)
|
||||
goUpdateCommand("cmd_fontColor");
|
||||
|
|
Загрузка…
Ссылка в новой задаче