Changeset 9315 for trunk/src/bp-core/bp-core-cssjs.php
- Timestamp:
- 01/08/2015 09:43:47 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-cssjs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-cssjs.php
r8772 r9315 126 126 127 127 // Less than 2x full-width: cropper defaults to full-width 128 } else if ( $image[0] < ( $full_width * 2 ) ) {128 } elseif ( $image[0] < ( $full_width * 2 ) ) { 129 129 $padding_w = round( ( $image[0] - $full_width ) / 2 ); 130 130 $crop_left = $padding_w; … … 143 143 144 144 // Less than double full-height: cropper defaults to full-height 145 } else if ( $image[1] < ( $full_height * 2 ) ) {145 } elseif ( $image[1] < ( $full_height * 2 ) ) { 146 146 $padding_h = round( ( $image[1] - $full_height ) / 2 ); 147 147 $crop_top = $padding_h;
Note: See TracChangeset
for help on using the changeset viewer.