Skip to content

Commit

Permalink
dll模式屏蔽空格
Browse files Browse the repository at this point in the history
  • Loading branch information
scarsty committed Feb 15, 2019
1 parent aebf725 commit b8f1383
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/PotPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ int PotPlayer::eventLoop()
{
switch (e.key.keysym.sym)
{
case BPK_SPACE:
pause = !pause;
media_->setPause(pause);
break;
case BPK_ESCAPE:
if (engine_->isFullScreen())
{
Expand All @@ -270,11 +266,15 @@ int PotPlayer::eventLoop()
running_ = false;
}
break;
#ifndef _WINDLL
case BPK_BACKSPACE:
media_->seekTime(0);
seeking = true;
break;
#ifndef _WINDLL
case BPK_SPACE:
pause = !pause;
media_->setPause(pause);
break;
case BPK_RETURN:
engine_->toggleFullscreen();
break;
Expand Down
2 changes: 1 addition & 1 deletion src/cp_dylib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for dylib in $DYLIBS; do
basename2=`basename $dylib2`
if [ ! -f "$basename2" ]; then
echo " cp dylib"
cp $dylib2 ../lib
cp $dylib2 .
fi
done
done
Expand Down

0 comments on commit b8f1383

Please sign in to comment.