@@ -1841,8 +1841,15 @@ var control = (function(){
18411841render ( ) ;
18421842}
18431843} , {
1844- element : helper . e ( ".control-link-item-line-show" ) ,
1845- path : "link.item.line.show" ,
1844+ element : helper . e ( ".control-link-item-line" ) ,
1845+ path : "link.item.line" ,
1846+ type : "checkbox" ,
1847+ func : function ( ) {
1848+ render ( ) ;
1849+ }
1850+ } , {
1851+ element : helper . e ( ".control-link-item-hover-scale" ) ,
1852+ path : "link.item.hoverScale" ,
18461853type : "checkbox" ,
18471854func : function ( ) {
18481855render ( ) ;
@@ -2312,7 +2319,8 @@ var control = (function(){
23122319helper . removeClass ( html , "is-link-url-show" ) ;
23132320helper . removeClass ( html , "is-link-url-style-light" ) ;
23142321helper . removeClass ( html , "is-link-url-style-dark" ) ;
2315- helper . removeClass ( html , "is-link-item-line-show" ) ;
2322+ helper . removeClass ( html , "is-link-item-line" ) ;
2323+ helper . removeClass ( html , "is-link-item-hover-scale" ) ;
23162324helper . removeClass ( html , "is-link-item-alignment-horizontal-left" ) ;
23172325helper . removeClass ( html , "is-link-item-alignment-horizontal-center" ) ;
23182326helper . removeClass ( html , "is-link-item-alignment-horizontal-right" ) ;
@@ -2336,8 +2344,11 @@ var control = (function(){
23362344if ( state . get ( ) . link . item . url . show ) {
23372345helper . addClass ( html , "is-link-url-show" ) ;
23382346} ;
2339- if ( state . get ( ) . link . item . line . show ) {
2340- helper . addClass ( html , "is-link-item-line-show" ) ;
2347+ if ( state . get ( ) . link . item . line ) {
2348+ helper . addClass ( html , "is-link-item-line" ) ;
2349+ } ;
2350+ if ( state . get ( ) . link . item . hoverScale ) {
2351+ helper . addClass ( html , "is-link-item-hover-scale" ) ;
23412352} ;
23422353if ( state . get ( ) . link . edit ) {
23432354helper . addClass ( html , "is-link-edit" ) ;
@@ -2688,7 +2699,8 @@ var control = (function(){
26882699helper . e ( ".control-link-item-url-show" ) . disabled = true ;
26892700helper . e ( ".control-link-item-url-style-dark" ) . disabled = true ;
26902701helper . e ( ".control-link-item-url-style-light" ) . disabled = true ;
2691- helper . e ( ".control-link-item-line-show" ) . disabled = true ;
2702+ helper . e ( ".control-link-item-line" ) . disabled = true ;
2703+ helper . e ( ".control-link-item-hover-scale" ) . disabled = true ;
26922704helper . e ( ".control-link-item-display-alignment-horizontal-label" ) . setAttribute ( "disabled" , "" ) ;
26932705helper . e ( ".control-link-item-display-alignment-horizontal-left" ) . disabled = true ;
26942706helper . e ( ".control-link-item-display-alignment-horizontal-center" ) . disabled = true ;
@@ -2718,7 +2730,8 @@ var control = (function(){
27182730helper . e ( ".control-link-item-display-show" ) . disabled = false ;
27192731helper . e ( ".control-link-item-name-show" ) . disabled = false ;
27202732helper . e ( ".control-link-item-url-show" ) . disabled = false ;
2721- helper . e ( ".control-link-item-line-show" ) . disabled = false ;
2733+ helper . e ( ".control-link-item-line" ) . disabled = false ;
2734+ helper . e ( ".control-link-item-hover-scale" ) . disabled = false ;
27222735helper . e ( ".control-link-new-tab" ) . disabled = false ;
27232736helper . e ( ".control-link-style-block" ) . disabled = false ;
27242737helper . e ( ".control-link-style-list" ) . disabled = false ;
0 commit comments