src/data/store.old.php 1 location
|
@@ 189-195 (lines=7) @@
|
186 |
|
* @param array $color The color array to check |
187 |
|
* @return void |
188 |
|
*/ |
189 |
|
protected function import_alpha(array $color) { |
190 |
|
if (isset($color['a'])) { |
191 |
|
$this->alpha = regulate::max((float) $color['a'], 100); |
192 |
|
} else { |
193 |
|
$this->alpha = 100.0; |
194 |
|
} |
195 |
|
} |
196 |
|
|
197 |
|
/** |
198 |
|
* Handles importing of another instance of color |
src/data/store.php 1 location
|
@@ 228-234 (lines=7) @@
|
225 |
|
* @param array $color The color array to check |
226 |
|
* @return void |
227 |
|
*/ |
228 |
|
protected function import_alpha(array $color) { |
229 |
|
if (isset($color['a'])) { |
230 |
|
$this->alpha = regulate::max((float) $color['a'], 100); |
231 |
|
} else { |
232 |
|
$this->alpha = 100.0; |
233 |
|
} |
234 |
|
} |
235 |
|
|
236 |
|
/** |
237 |
|
* Handles importing of another instance of color |