Skip to content

Commit

Permalink
更新渐变增加垂直位置
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Jan 23, 2024
1 parent 5e0d203 commit c13fd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Editor/CanvasRight/Backgrounds/ElementFill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@
</el-col>
<el-col :span="4" class="slider-num">{{ gradientRotate }}</el-col>
</el-row>
<el-row class="mb-10" v-if="background.gradientType === 'linear'">
<el-row>
<el-col :span="7" class="slider-name">水平位置:</el-col>
<el-col :span="13">
<el-slider class="common-slider" :min="0" :max="1" :step="0.01" v-model="gradientOffsetX" @change="generateGradientBackground"/>
</el-col>
<el-col :span="4" class="slider-num">{{ gradientOffsetX }}</el-col>
</el-row>
<el-row class="mb-10" v-else>
<el-row>
<el-col :span="7" class="slider-name">垂直位置:</el-col>
<el-col :span="13">
<el-slider class="common-slider" :min="0" :max="1" :step="0.01" v-model="gradientOffsetY" @change="generateGradientBackground"/>
Expand Down

0 comments on commit c13fd81

Please sign in to comment.