@@ -6,14 +6,14 @@ <h4>Github: <a href="https://github.com/kevoj/angular-editor-fabric-js">angular-
66 < div class ="col-xl-12 ">
77 < div class ="row ">
88 < div class ="col-xl-12 text-right ">
9- < button data-toggle ="tooltip " data-placement ="bottom " title ="Export to image " type ="button " class ="btn btn-primary " (click) ="rasterize(); ">
9+ < button data-toggle ="tooltip " data-placement ="bottom " title ="Export to image " type ="button " class ="btn btn-primary m-1 " (click) ="rasterize(); ">
1010 < i class ="fa fa-download " aria-hidden ="true "> </ i > Export to image</ button >
11- < button data-toggle ="tooltip " data-placement ="bottom " title ="Export to SVG " type ="button " class ="btn btn-primary " (click) ="rasterizeSVG(); ">
11+ < button data-toggle ="tooltip " data-placement ="bottom " title ="Export to SVG " type ="button " class ="btn btn-primary m-1 " (click) ="rasterizeSVG(); ">
1212 < i class ="fa fa-download " aria-hidden ="true "> </ i > Export to SVG</ button >
13- < button data-toggle ="tooltip " data-placement ="bottom " title ="Save in localStorage " type ="button " class ="btn btn-primary "
13+ < button data-toggle ="tooltip " data-placement ="bottom " title ="Save in localStorage " type ="button " class ="btn btn-primary m-1 "
1414 (click) ="saveCanvasToJSON(); ">
1515 < i class ="fa fa-save " aria-hidden ="true "> </ i > Save local</ button >
16- < button data-toggle ="tooltip " data-placement ="bottom " title ="Load from localStorage " type ="button " class ="btn btn-primary "
16+ < button data-toggle ="tooltip " data-placement ="bottom " title ="Load from localStorage " type ="button " class ="btn btn-primary m-1 "
1717 (click) ="loadCanvasFromJSON(); ">
1818 < i class ="fa fa-save " aria-hidden ="true "> </ i > Load local</ button >
1919 < button data-toggle ="tooltip " data-placement ="bottom " title ="Clean Canvas " type ="button " class ="btn btn-danger " (click) ="confirmClear(); ">
@@ -52,16 +52,21 @@ <h4>Github: <a href="https://github.com/kevoj/angular-editor-fabric-js">angular-
5252 </ div >
5353 < br />
5454 < div class ="card ">
55- < div class ="card-header "> Drawing Mode</ div >
55+ < div class ="card-header "> Free Drawing Mode</ div >
5656 < div class ="card-body ">
5757 < div class ="input-group ">
58-
58+
5959 < div class ="input-group-append ">
60- < span class ="input-group-text ">
61- < button id ="add-text " data-toggle ="tooltip " data-placement ="bottom " title ="Drawing Mode " class ="btn btn-primary " (click) ="drawMode() ">
60+ < div class ="custom-control custom-switch ">
61+ < input type ="checkbox " class ="custom-control-input " checked id ="customSwitch1 " (click) ="drawMode() ">
62+ < label class ="custom-control-label " for ="customSwitch1 "> Enable / Disable</ label >
63+ </ div >
64+ <!-- <span class="input-group-text">
65+
66+ <button id="add-text" data-toggle="tooltip" data-placement="bottom" title="Drawing Mode" class="btn btn-primary" (click)="drawMode()">
6267 <i class="fa fa-plus" aria-hidden="true"></i>
6368 </button>
64- </ span >
69+ </span> -->
6570 </ div >
6671 </ div >
6772 </ div >
0 commit comments