| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | |
| 59 | 59 | $controls['text_stroke'] = [ |
| 60 | 60 | 'label' => esc_html__( 'Text Stroke', 'elementor' ), |
| 61 | 61 | 'type' => Controls_Manager::SLIDER, |
| 62 | - 'size_units' => [ 'px', 'em', 'rem', 'custom' ], | |
| 62 | + 'size_units' => [ 'px', 'em', 'rem' ], | |
| 63 | 63 | 'range' => [ |
| 64 | 64 | 'px' => [ |
| 65 | 65 | 'min' => 0, |
| 66 | 66 | 'max' => 10, |
| @@ -67,12 +67,14 @@ | ||
| 67 | 67 | ], |
| 68 | 68 | 'em' => [ |
| 69 | 69 | 'min' => 0, |
| 70 | 70 | 'max' => 1, |
| 71 | + 'step' => 0.01, | |
| 71 | 72 | ], |
| 72 | 73 | 'rem' => [ |
| 73 | 74 | 'min' => 0, |
| 74 | 75 | 'max' => 1, |
| 76 | + 'step' => 0.01, | |
| 75 | 77 | ], |
| 76 | 78 | ], |
| 77 | 79 | 'responsive' => true, |
| 78 | 80 | 'selector' => '{{WRAPPER}}', |
| @@ -107,9 +109,9 @@ | ||
| 107 | 109 | */ |
| 108 | 110 | protected function get_default_options() { |
| 109 | 111 | return [ |
| 110 | 112 | 'popover' => [ |
| 111 | - 'starter_title' => esc_html__( 'Text Stroke', 'elementor' ), | |
| 113 | + 'starter_title' => _x( 'Text Stroke', 'Text Stroke Control', 'elementor' ), | |
| 112 | 114 | 'starter_name' => 'text_stroke_type', |
| 113 | 115 | 'starter_value' => 'yes', |
| 114 | 116 | 'settings' => [ |
| 115 | 117 | 'render_type' => 'ui', |