Searched refs:SLICE_HEIGHT (Results 1 – 2 of 2) sorted by relevance
24 const SLICE_HEIGHT = 20; constant94 const rectYStart = TRACK_PADDING + depth * SLICE_HEIGHT;100 ctx.fillRect(rectXStart, rectYStart, rectWidth, SLICE_HEIGHT);106 ctx.fillText(displayText, rectXCenter, rectYStart + SLICE_HEIGHT / 2);117 const depth = Math.floor(y / SLICE_HEIGHT);134 return SLICE_HEIGHT * (this.config.maxDepth + 1) + 2 * TRACK_PADDING;
16 const SLICE_HEIGHT = 32; constant27 ctx.fillRect(leftPx, TRACK_PADDING, widthPx, SLICE_HEIGHT);33 TRACK_PADDING + SLICE_HEIGHT / 2,