~thomas-moenicke/phablet-extras/maliit-plugins-url-layout

Viewing all changes in revision 2148.

  • Committer: Thomas Moenicke
  • Date: 2013-08-08 10:45:11 UTC
  • Revision ID: thomas.moenicke@canonical.com-20130808104511-vurg1hecm94ezmk6
fixed caluclation of margins: if no layout was loaded before, it took values from wrong cache.
Instead of caching the margins, we should reduce calling switchToMainView() and reduce creating new keyAreas
see also: 
    void LayoutUpdater::switchToMainView()
     converter.keyArea()
      createFromKeyboard(m_attributes, m_loader->keyboard(), m_orientation);

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: