@@ -16,7 +16,7 @@ import {isBitmap} from '../lib/format';
1616import  GradientTypes  from  '../lib/gradient-types' ; 
1717
1818import  FillColorIndicatorComponent  from  '../components/fill-color-indicator.jsx' ; 
19- import  { applyFillColorToSelection , 
19+ import  { applyColorToSelection , 
2020    applyGradientTypeToSelection , 
2121    getRotatedColor , 
2222    swapColorsInSelection , 
@@ -45,11 +45,12 @@ class FillColorIndicator extends React.Component {
4545    } 
4646    handleChangeFillColor  ( newColor )  { 
4747        // Apply color and update redux, but do not update svg until picker closes. 
48-         const  isDifferent  =  applyFillColorToSelection ( 
48+         const  isDifferent  =  applyColorToSelection ( 
4949            newColor , 
5050            this . props . colorIndex , 
5151            this . props . gradientType  ===  GradientTypes . SOLID , 
5252            isBitmap ( this . props . format ) , 
53+             false ,  // applyToStroke 
5354            this . props . textEditTarget ) ; 
5455        this . _hasChanged  =  this . _hasChanged  ||  isDifferent ; 
5556        this . props . onChangeFillColor ( newColor ,  this . props . colorIndex ) ; 
@@ -59,6 +60,7 @@ class FillColorIndicator extends React.Component {
5960        const  isDifferent  =  applyGradientTypeToSelection ( 
6061            gradientType , 
6162            isBitmap ( this . props . format ) , 
63+             false ,  // applyToStroke 
6264            this . props . textEditTarget ) ; 
6365        this . _hasChanged  =  this . _hasChanged  ||  isDifferent ; 
6466        const  hasSelectedItems  =  getSelectedLeafItems ( ) . length  >  0 ; 
@@ -92,6 +94,7 @@ class FillColorIndicator extends React.Component {
9294        if  ( getSelectedLeafItems ( ) . length )  { 
9395            const  isDifferent  =  swapColorsInSelection ( 
9496                isBitmap ( this . props . format ) , 
97+                 false ,  // applyToStroke 
9598                this . props . textEditTarget ) ; 
9699            this . props . setSelectedItems ( ) ; 
97100            this . _hasChanged  =  this . _hasChanged  ||  isDifferent ; 
0 commit comments