#sespinInput NumberSpinBox implement and se-spin-input webcomponenet added changes

This commit is contained in:
Agriya Dev5
2020-11-18 17:38:36 +05:30
parent fc631d21db
commit 2221f3a0b8
5 changed files with 215 additions and 27 deletions

View File

@@ -152,7 +152,7 @@
</div>
<label id="tool_angle" title="Change rotation angle" class="toolset">
<span id="angleLabel" class="icon_label"></span>
<input id="angle" size="2" value="0" type="text" />
<se-spin-input id="angle" min=-180 max=180 step=5 value="0" title="Change rotation angle"></se-spin-input>
</label>
<div class="toolset" id="tool_blur" title="Change gaussian blur value">
<label>
@@ -209,7 +209,7 @@
</div>
<label id="cornerRadiusLabel" class="toolset" title="Change Rectangle Corner Radius">
<span class="icon_label"></span>
<input id="rect_rx" size="3" value="0" type="text" data-attr="Corner Radius" />
<se-spin-input id="rect_rx" min=0 max=1000 step=1 value="0" title="Change Rectangle Corner Radius" data-attr="Corner Radius"></se-spin-input>
</label>
</div>
<div id="image_panel">
@@ -283,7 +283,7 @@
</div>
<label id="tool_font_size" title="Change Font Size">
<span id="font_sizeLabel" class="icon_label"></span>
<input id="font_size" size="3" value="0" type="text" />
<se-spin-input id="font_size" min=1 max=1000 step=1 value="0" title="Change Font Size"></se-spin-input>
</label>
<!-- Not visible, but still used -->
<input id="text" type="text" size="35" />
@@ -385,8 +385,7 @@
<div id="stroke_color" class="color_block" title="Change stroke color"></div>
</div>
<label class="stroke_label">
<input id="stroke_width" title="Change stroke width by 1, shift-click to change by 0.1" size="2"
value="5" type="text" data-attr="Stroke Width" />
<se-spin-input id="stroke_width" min=0 max=99 step=0.1 value="5" title="Change stroke width by 1, shift-click to change by 0.1"></se-spin-input>
</label>
<div id="toggle_stroke_tools" title="Show/hide more stroke tools"></div>
<label class="stroke_tool">