Fix indentation display of indented sections
This commit is contained in:
@@ -457,7 +457,9 @@ selNumPosCardinal ::
|
||||
selNumPosCardinal card cfig ldp sss i j = do
|
||||
ipos <- selSecYint i j sss
|
||||
size <- selSecSelSize i j sss
|
||||
indent <- sss ^? ix i . ssItems . ix j . siOffX
|
||||
itmindent <- sss ^? ix i . ssItems . ix j . siOffX
|
||||
sindent <- sss ^? ix i . ssIndent
|
||||
let indent = itmindent + sindent
|
||||
let offset = cardEightVec card * V2 0 (fromIntegral size * 0.5 * 20 * s)
|
||||
return $
|
||||
screenPosAbs cfig (ldp ^. ldpPos)
|
||||
|
||||
Reference in New Issue
Block a user