summaryrefslogtreecommitdiffstats
path: root/src/selcue.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2019-05-18 20:00:05 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2019-05-20 16:22:27 +0000
commit06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d (patch)
tree1fd818b22eb40224d304b3535d5955ed0113fce5 /src/selcue.cpp
parentMore pixel-level alignment fixes for various controls, by making all controls... (diff)
downloadinkscape-06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d.tar.gz
inkscape-06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d.zip
Change the data type of size/width/height of the controls to unsigned int
Diffstat (limited to '')
-rw-r--r--src/selcue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selcue.cpp b/src/selcue.cpp
index 9a276325f..2bab05d41 100644
--- a/src/selcue.cpp
+++ b/src/selcue.cpp
@@ -162,7 +162,7 @@ void Inkscape::SelCue::_newItemBboxes()
SP_TYPE_CTRL,
"mode", SP_CTRL_MODE_XOR,
"shape", SP_CTRL_SHAPE_DIAMOND,
- "size", 6.0,
+ "size", 6,
"filled", TRUE,
"fill_color", 0x000000ff,
"stroked", FALSE,
@@ -214,7 +214,7 @@ void Inkscape::SelCue::_newTextBaselines()
if (pt) {
baseline_point = sp_canvas_item_new(_desktop->getControls(), SP_TYPE_CTRL,
"mode", SP_CTRL_MODE_XOR,
- "size", 5.0,
+ "size", 5,
"filled", 0,
"stroked", 1,
"stroke_color", 0x000000ff,