Compare commits
2 Commits
c735ba9c65
...
d34e955021
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d34e955021 | ||
|
|
775e1d9959 |
@@ -59,7 +59,7 @@ function renderProbeElement(renderItem) {
|
|||||||
|
|
||||||
const MIN_THUMB_HEIGHT = 48;
|
const MIN_THUMB_HEIGHT = 48;
|
||||||
const RACEWAY_WIDTH = 16;
|
const RACEWAY_WIDTH = 16;
|
||||||
const RACEWAY_BOTTOM_MARGIN = 8;
|
const RACEWAY_BOTTOM_MARGIN = 16;
|
||||||
|
|
||||||
class FillSpace extends Component {
|
class FillSpace extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@@ -442,7 +442,7 @@ class FillSpace extends Component {
|
|||||||
(viewportHeight || 0) > 0;
|
(viewportHeight || 0) > 0;
|
||||||
|
|
||||||
const racewayBottom = Math.max(0, Number(racewayMarginBottom ?? RACEWAY_BOTTOM_MARGIN) || 0);
|
const racewayBottom = Math.max(0, Number(racewayMarginBottom ?? RACEWAY_BOTTOM_MARGIN) || 0);
|
||||||
const racewayRightOffset = racewayRight != null ? racewayRight : -(RACEWAY_WIDTH - 8);
|
const racewayRightOffset = racewayRight != null ? racewayRight : 0;
|
||||||
|
|
||||||
let thumbHeight = 0;
|
let thumbHeight = 0;
|
||||||
let thumbTop = 0;
|
let thumbTop = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user