chore: 修改拖拽锚点样式

This commit is contained in:
奔跑的面条 2022-05-28 15:57:44 +08:00
parent 0ec9fd8534
commit d61769f9b8

View File

@ -65,8 +65,8 @@ const select = computed(() => {
.shape-point { .shape-point {
z-index: 1; z-index: 1;
position: absolute; position: absolute;
width: 10px; width: 7px;
height: 10px; height: 7px;
border: 3px solid v-bind('themeColor'); border: 3px solid v-bind('themeColor');
border-radius: 5px; border-radius: 5px;
background-color: #fff; background-color: #fff;
@ -79,6 +79,12 @@ const select = computed(() => {
&.r { &.r {
height: 30px; height: 30px;
} }
&.r,
&.rt,
&.rb
{
transform: translate(-30%, -30%);
}
} }
/* 选中 */ /* 选中 */
.shape-modal { .shape-modal {