WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f02c4c0

Browse files
committed
v2.4.0
1 parent de4ad4d commit f02c4c0

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Level editor for [Hexcells](http://store.steampowered.com/app/304410/).
2525

2626
### Player
2727

28-
Open a level or paste one from clipboard and play it.
28+
Open a level or paste one from clipboard and play it.
29+
Loading multiple levels at once is supported. Use the tab bar to switch between them.
2930

3031
Left-click/right-click an orange cell to reveal it as blue/black. In case of a mistake the cell will not be revealed.
3132
Press Z to undo.
@@ -35,6 +36,8 @@ Annotations don't affect anything, they're just marks. Revealing a cell will cle
3536
*Edit* menu also contains options to clear all the annotations, confirm them (as if all of the annotated cells were clicked with a matching color) or deny them (...clicked with the opposite color).
3637
See also: [Text annotations](#annotations)
3738

39+
When you close a level, you will have an option to save the current progress. It will be loaded automatically next time. There is an option to clear progress.
40+
3841
If you use the *Player* to playtest right from *Editor*, it will save state between sessions.
3942
Right click to revert a cell to yellow.
4043

common.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from __future__ import division, print_function
2020

21-
__version__ = '2.3.0'
21+
__version__ = '2.4.0'
2222

2323
import sys
2424
import os.path
@@ -60,9 +60,8 @@ class Color(object):
6060
beam = QColor(255, 255, 255, 110)
6161
flower = QColor(255, 255, 255, 90)
6262
flower_border = QColor(128, 128, 128, 192)
63-
revealed_border = QColor(0, 255, 128)
63+
revealed_border = QColor(0, 230, 80)
6464
selection = qt.black
65-
proven = QColor(0, 160, 0)
6665

6766

6867
no_pen = QPen(qt.transparent, 1e-10, qt.NoPen)

editor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ def closeevent(e):
783783
window.view.horizontalScrollBar().setValue(self.view.horizontalScrollBar().value())
784784
delta = window.view.mapTo(window.central_widget, QPoint(0, 0))
785785
window.view.verticalScrollBar().setValue(self.view.verticalScrollBar().value() + delta.y())
786+
window.view.setFocus()
786787

787788
self.status = "Done", 1
788789

player.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ def load_one(self, level):
610610
self.view.viewport().update()
611611
except Exception:
612612
pass
613+
self.view.setFocus()
613614
return True
614615

615616
def load(self, level):

0 commit comments

Comments
 (0)