diff options
| author | Teddy Wing | 2015-12-23 15:09:25 -0800 |
|---|---|---|
| committer | Teddy Wing | 2015-12-23 15:09:25 -0800 |
| commit | 424a21e5831951c3d2196d2f593fd8dbcfc0f64d (patch) | |
| tree | 4427893cb0dcece413616bcbb27c39fcc8a97a61 | |
| parent | 96745b4b6b8171af31a38c34d382002626746452 (diff) | |
| download | RoboFont-Equalize-Sidebearings-Key-424a21e5831951c3d2196d2f593fd8dbcfc0f64d.tar.bz2 | |
equalize_sidebearings.py: Rename `center` method to `equalize`
Because the term is not exactly appropriate in this context. Equalising
and centering are really 2 different things and this method does the
former.
| -rw-r--r-- | equalize_sidebearings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/equalize_sidebearings.py b/equalize_sidebearings.py index 8460ad3..abfea41 100644 --- a/equalize_sidebearings.py +++ b/equalize_sidebearings.py @@ -13,9 +13,9 @@ class CustomSpaceCenterMenuForGlyph(SpaceCenterMenuForGlyph): class EqualizeSidebearings(object): def __init__(self): - addObserver(self, 'center', 'spaceCenterKeyUp') + addObserver(self, 'equalize', 'spaceCenterKeyUp') - def center(self, info): + def equalize(self, info): if info['event'].characters() == 'a': space_center_menu = CustomSpaceCenterMenuForGlyph( info['glyph'].naked()) |
