Skip to content

Commit

Permalink
#206 Tidying up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich2 committed Mar 23, 2023
1 parent eeeef17 commit c464920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Dev/srcStrat/dless/DLessGui.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ case class DLessGui(canv: CanvasPlatform, scenIn: DLessScen, viewIn: HGView, isF

override def frame: GraphicElems =
{
//def lines2: GraphicElems = proj.ifTileScale(50, lines1)

def hexStrs: RArr[TextGraphic] = terrs.hcOptFlatMap { (hc, terr) =>
proj.transOptCoord(hc).map { pt =>
def hexStrs: RArr[TextGraphic] = terrs.hcOptFlatMap { (hc, terr) => if (armies(hc).nonEmpty) None
else proj.transOptCoord(hc).map { pt =>
val strs: StrArr = StrArr(hc.rcStr32) /*.appendOption(proj.hCoordOptStr(hc))*/ +% hc.strComma
TextGraphic.lines(strs, 12, pt, terr.contrastBW)
}
Expand Down
4 changes: 2 additions & 2 deletions EGrid/src/egrid/EGridBaseGui.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright 2018-23 Richard Oliver. Licensed under Apache Licence version 2.0. */
package ostrat; package egrid
import geom._, pglobe._, prid._, phex._, egrid._
import geom._, prid._, phex._

abstract class EGridBaseGui(title: String) extends HGridSysGui(title)
{ implicit val gridSys: HGridSys
Expand Down Expand Up @@ -55,5 +55,5 @@ abstract class EGridBaseGui(title: String) extends HGridSysGui(title)
}
}

def lines4: GraphicElems = proj.ifTileScale(50, lines3)
def lines4: GraphicElems = proj.ifTileScale(150, lines3)
}

0 comments on commit c464920

Please sign in to comment.