Various minor fixes (#4172)

- css tweaks: use correct CSS "hyphens:" instead of "hyphenate:"
- screenshoter: more logical order of lines (no change in what it does)
- textviewer: make diagonal swipe really trigger a full refresh
- textwidget: more adequate text length to help with centering
- toggleswitch: fix sizing & centering with correct calculations
  (this reduces a bit the size of switches, and may cause a new
  truncation in some translations)
This commit is contained in:
poire-z
2018-08-19 20:21:03 +02:00
committed by Frans de Jonge
parent 5eff127cf6
commit e1ba5ccffe
5 changed files with 25 additions and 17 deletions

View File

@@ -246,8 +246,8 @@ function TextViewer:onSwipe(arg, ges)
self.scroll_text_w:scrollText(-1)
return true
else
-- trigger a flashing text refresh
UIManager:setDirty(nil, "flashui", self.frame.dimen)
-- trigger a full-screen HQ flashing refresh
UIManager:setDirty(nil, "full")
-- a long diagonal swipe may also be used for taking a screenshot,
-- so let it propagate
return false