File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ const BVIconBase = {
3838 ...commonIconProps
3939 } ,
4040 render ( h , { data, props } ) {
41- const fontScale = ( toFloat ( props . fontScale ) || 1 )
41+ const fontScale = toFloat ( props . fontScale ) || 1
4242 const angle = toFloat ( props . scale ) || 0
4343 const transforms = [
44- props . flipH || props . flipV ? `scale(${ props . flipH ? - 1 : 1 } , ${ props . flipV ? - 1 : 1 } )` : null ,
44+ props . flipH || props . flipV ? `scale(${ props . flipH ? - 1 : 1 } , ${ props . flipV ? - 1 : 1 } )` : null ,
4545 angle ? `rotate(${ angle } , 0, 0)` : null
4646 ]
4747 return h (
@@ -59,8 +59,8 @@ const BVIconBase = {
5959 alt : 'icon'
6060 } ,
6161 style : {
62- fontSize : fontScale === 1 ? null : scale * 100 ,
63- transform : transforms . filter ( identity ) . join ( ' ' ) ,
62+ fontSize : fontScale === 1 ? null : fontScale * 100 ,
63+ transform : transforms . filter ( identity ) . join ( ' ' ) || null ,
6464 }
6565 } ,
6666 // Merge in user supplied data
You can’t perform that action at this time.
0 commit comments