Commit 09d4ce4c by Jeong Gilmo

#33721 手書きパレット機能の追加

- ペンと消しコムの太さの種類を追加
parent f9578464
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
.drawing-board-control-size-dropdown-current span { position: absolute; left: 50%; top: 50%; } .drawing-board-control-size-dropdown-current span { position: absolute; left: 50%; top: 50%; }
/*.drawing-board-control-size-dropdown { position: absolute; left: 0px; top: 33px; height: auto; list-style-type: none; margin: 0; padding: 0; z-index: 100; width: 40px;}*/ /*.drawing-board-control-size-dropdown { position: absolute; left: 0px; top: 33px; height: auto; list-style-type: none; margin: 0; padding: 0; z-index: 100; width: 40px;}*/
.drawing-board-control-size-dropdown { position: absolute; left: 2px; top: 33px; height: auto; list-style-type: none; margin: 0; padding: 0; z-index: 100; width: 42px;} .drawing-board-control-size-dropdown { position: absolute; left: -6px; top: 33px; height: auto; list-style-type: none; margin: 0; padding: 0; z-index: 100; width: 60px;}
.drawing-board-control-size-dropdown li { display: block; padding: 4px; margin: 3px 0; min-height: 16px; } .drawing-board-control-size-dropdown li { display: block; padding: 4px; margin: 3px 0; min-height: 16px; }
.drawing-board-control-size-dropdown li:hover { background: #ccc; } .drawing-board-control-size-dropdown li:hover { background: #ccc; }
.drawing-board-control-size-dropdown span { margin: auto; display: inline-block; vertical-align: middle;} .drawing-board-control-size-dropdown span { margin: auto; display: inline-block; vertical-align: middle;}
......
...@@ -5,7 +5,7 @@ DrawingBoard.Control.Size = DrawingBoard.Control.extend({ ...@@ -5,7 +5,7 @@ DrawingBoard.Control.Size = DrawingBoard.Control.extend({
defaults: { defaults: {
type: "auto", type: "auto",
// dropdownValues: [1, 3, 6, 10, 20, 30, 40, 50], // dropdownValues: [1, 3, 6, 10, 20, 30, 40, 50],
dropdownValues: [3, 6, 10], dropdownValues: [3, 6, 10, 20, 30, 45],
min: 1, min: 1,
max: 50 max: 50
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment